GitHub CSV Tools now supports exporting issues!
- Choose what columns you want in the exported CSV with
--exportAttributes
. - Export all the comments per issue with
--exportComments
Importing issues via a CSV is also possible, just pass a CSV file like githubCsvTools myFile.csv
.
To get started, just run npm install -g github-csv-tools
and then export with the command githubCsvTools
.
Enjoy!
gavinr / github-csv-tools
Import and export GitHub issues via CSV
Usage
Prerequisite: Install Node.js, then run this to install:
npm install -g github-csv-tools
After install, githubCsvTools --help
for info on how to use, or see below.
Instructions for exporting or importing:
To Import Issues
Currently imports title, body, labels, status (closed or open) and milestones. See the test folder for example input formats.
githubCsvTools myFile.csv
To Export Issues
githubCsvTools
Option
Default
Notes
-f, --exportFileName
YYYY-MM-DD-hh-mm-ss-issues.csv
The name of the CSV you'd like to export to.
-a, --exportAttributes
number, title, labels, state, assignees, milestone, comments, created_at, updated_at, closed_at, body
Comma-separated list of attributes (columns) in the export**.
-c, --exportComments
n/a
Include comments in the export. If using in combination with
--exportAttributes
, id
must be included.
-e, --exportAll
n/a
Export all possible values from the GitHub API. If not included, a subset of attributes (see
--exportAttributes
above) that are known to be compatible
Top comments (1)
Great Gavin!! you saved my day :D. Repo starred!