Migrate tickets from one Jira to another Jira
This is a program to help migrate tickets between Jira servers. If you have the appropriate privileges, there are better ways of doing this! If you don't, all you have available are messy solutions (including this).
So what's this, then? This migrates tickets belonging to projects from one Jira server to Jira another server. If the project is fresh on the destination server, then ticket numbers will be preserved.
To see what's done, a set of before and after pictures tells the best story:
Notice that the following are preserved:
And possibly add the ticket number to that list (see above paragraph). Everything else is not preserved.
Note that this program assumes that you're migrating to a new-ish Jira (2018-ish), since there are some key differences between old and new Jiras.
pip install jira-ticket-migrate
Alternatively, you can run jira-ticket-migrate directly from source
using the script
Copy the example config file
cp config.yaml.example config.yaml
and fill it in.
Then run with
You can specify a config file explicitly with the
jira-ticket-migrate -c /path/to/config.yaml
Otherwise it will look for it at the root of the repository.