Change Project Key

When I began working on a project the project name and key fit. After the project has evolved the project name and key no longer work and has become very confusing. Changing the name is very easy but changing the key is not. All issues except 1 in this incorrectly titled project belong to the new project name. For the exception I need to keep the current project name and key because it makes sense for that one. I just can't figure out how to change the product key which currently leaves me with the following 3 choices.

  1. I could create a new project with new key and move everything but the one story. But then I loose the audit trail because of the previous/already implemented stories.
  2. I could Modify the project name & keep the key then create the new project & key but that will be confusing as well.
  3. Live with the mistake for the next year.

Does anyone know how to change the project key?

1 answer

1 accepted

0 vote

You can't change a project key, really, you're a bit stuck. Your question actually contains most of the answers already, so you've thought of almost everything.

What you could do:

  1. Exactly as you say in point 1 - new project and move what you need. Note that you don't lose the audit trail though - issues retain their history, and even urls - if you move XYZ-123 to ABC-456, and someone hits http://yourjira/browse/xyz-123, it will land on ABC-456
  2. Hack the database to change all the keys - requires backups, downtime, understanding of the database (and I'd create the target project first), testing and so-on. If you go this route, you still need separate projects. Projects still must have a consistent key - Project XYZ cannot contain issues keyed with ABC-... Oh, and you can't do this in OnDemand as you don't have database access.
  3. As you say in point 2
  4. Pretty much point 3.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

795 views 2 19
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