Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andreasscherbaum/github_issue_exporter

Export GitHub PR and Issues as CSV
https://github.com/andreasscherbaum/github_issue_exporter

csv export exporter github github-issues github-pr sort

Last synced: 22 days ago
JSON representation

Export GitHub PR and Issues as CSV

Awesome Lists containing this project

README

        

# github_issue_exporter

Export GitHub PR and Issues as CSV

## Usage

```
./pull_requests_and_issues.py [options]
```

Where *GitHub organization name* is the name of the organization owning the GitHub repository, and *GitHub project name* is the repository name.

Options:

* --help: Display the help message
* --state: Select which PR/Issues should be exported (open, closed, all - Default: open)
* --sort: Sort order for PR/Issues (created, updated, comments - Default: created)
* --verbose: Output debug messages
* --quiet: no output except errors

## Output

This tool will export the Pull Requests and Issues into two files, in tab-separated CSV format:

* "GitHub organization name"_"GitHub project name"_Issues.csv
* "GitHub organization name"_"GitHub project name"_PR.csv

The following fields are exported:

* ID: The Issue/PR number (this is not the GitHub internal ID)
* Title
* Created: the timestamp when the Issue/PR was created, beautyfied
* URL: the web URL for the Issue/PR
* State: the current state of the Issue/PR