JIRA change project key

Hi is there anyway to change a project key and all the issue key associated to the project?
This is one way to do it, but is there any easier way? This involves too many steps and time consuming if the JIRA is big.

  1. Export your JIRA data to XML.
  2. Go through the file and replace the instances of the project's key:
    • in the 'key' attribute of the Project entity
    • in the 'key' attribute of all Issue entities.
  3. Search for the project key in the whole XML file. You should not find too many references. Change any that you find.
  4. Rename all attachment folders, as the folder name depends on the project key. This includes one folder for each issue with an attachment, plus one top-level folder for the project.
  5. Reimport your data.
  6. Reindex the data by navigating to Administration -> System -> Indexing and selecting 'Re-Index'.

2 answers

1 accepted

This widget could not be displayed.

This is the most effective solution. If you do it in DB, there may still be references hanging around and it won't fix attachments.

another workaround is to create a new project with the same configuration as the old project but edit the project key.

do a bulk move issues from old project to new project

This widget could not be displayed.

This feature was implemented on JIRA 6.1 (see release notes), and it is now possible to change project key via the JIRA UI. For the detailed instructions about this feature, you may refer to the links below:

Cheers,

Danilo

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

67 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you