Skip to main content

Migrate tickets from one Jira to another Jira

Project description

Build Status codecov PyPI PyPI - Python Version Code style: black

jira-ticket-migrate

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:

Source ticket

source ticket

Migrated ticket

migrated ticket

Notice that the following are preserved:

  • title
  • description
  • priority
  • status
  • resolution

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.

Installation

Using pip,

pip install jira-ticket-migrate

Alternatively, you can run jira-ticket-migrate directly from source using the script run_jira_ticket_migrate.py.

Usage

Copy the example config file config.yaml.example to config.yaml

cp config.yaml.example config.yaml

and fill it in.

Then run with

jira-ticket-migrate

You can specify a config file explicitly with the -c option:

jira-ticket-migrate /path/to/config.yaml

Otherwise it will look for it at the root of the repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jira-ticket-migrate-0.1.0.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file jira-ticket-migrate-0.1.0.tar.gz.

File metadata

  • Download URL: jira-ticket-migrate-0.1.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/2.7.15+

File hashes

Hashes for jira-ticket-migrate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cbae63d10a5e9f374b471aae71b48d45abc0a5fcd7e5512d80588a75944842c6
MD5 37a628d05f05cdcead904f7f88edaf58
BLAKE2b-256 141a5439a563f41615224cd13380a85852886c612971c9055b0a4ca54a1553f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page