2.2.0 • Published 3 years ago

@zvika-peeriq/github-to-jira v2.2.0

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Github Issue to Jira JSON

This project is inspired by (https://github.com/gavinr/github-csv-tools.git)

Usage

Prerequisite: Install Node.js, then run this to install:

npm install -g @zvika-peeriq/github-to-jira

After install, githubToJira --help for info on how to use, or see below.

Instructions for exporting:

To Export Issues

githubToJira
OptionDefaultNotes
-f, --exportFileNameYYYY-MM-DD-hh-mm-ss-issues.jsonThe name of the JSON you'd like to export to.

Tokens

For all actions, the tool will ask you to input a GitHub token. To obtain this token:

  1. Go to https://github.com/settings/tokens
  2. Click "Generate New Token"
  3. Check on repo
  4. Copy/paste the token provided when the tool asks for it.

Other Options

OptionNotes
-V, --versionoutput the version number
-g, --githubEnterpriseYour GitHub Enterprise URL.
-t, --token tokenThe GitHub token. https://github.com/settings/tokens
-l, --labels jira,testComma separated label to apply the filters on
-o, --organization organizationThe User or Organization slug that the repo lives under.
-f, --exportFileName export.jsonThe name of the JSON file to export to.
-p, --jiraProjectName Test ProjectThe name of the project in JIRA
-k, --jiraProjectKey TPAThe name of the project Key e.g TPA
-s, --state all,open,closedThe state of the issue all, open - Default, closed
-v, --verboseInclude additional logging information.
-h, --helpdisplay help for command

Development

  1. Clone the repo.
  2. Browse to repo, then run npm install -g

Changelog

See CHANGELOG.md

Thanks