Migrates Jira issues to Github
Jira to GitHub is a command line tool for migrating Jira issues to GitHub.
It is built from the ground up to ensure a smooth migration from Jira to GitHub. Jira to GitHub will never modify existing GitHub issues. Nor will it ever create duplicates.
See the Setup and Running sections for more information.
To install Jira To GitHub you must build from source. In the future binary distributions may be provided.
First clone down this repository with go get github.com/Noah-Huppert/jira-to-github
.
Then run make install
.
The Jira to GitHub migration tool will then be installed in $GOPATH/bin
with the name j2gh
.
To run Jira To GitHub you must edit the configuration file.
The configuration file holds the following values:
repo:public_repo
,
admin:org:read:org
, user:read:user
, user:user:email
,
write:discussion:read:discussion
.First copy config.example.toml
to config.toml
.
Then modify it with your own values.
To run Jira to GitHub simply run the executable which is named j2gh
.
Usage: j2gh <Command>
.
There are 3 commands:
fetch
: Will retrieve state from the Jira and GitHub APIs
link <Model> <Jira ID> <GitHub ID>
: Will create an association between a
Jira and GitHub API entity
Model
: The type of model to create a link for. Valid values are
user
, label
, issue
.Jira ID
: ID of Jira modelGitHub ID
: ID of GitHub modellink
command lists all the models
that can be linked, and their link status.create
: Will create the GitHub issues for the retrieved Jira issues
Jira to GitHub is safe to run multiple times. As it is aware of the issues which it has already transfered over.