I have project ABC with key ABC. My users would like to retain the info in this project, but have a new project by that name and with that key. I renamed the project to ABC-OLD and renamed the key ABCOLD on the details page. This worked fine; the key shows as ABCOLD-1 and would allow viewing the original data.
However, if I try to create a new ABC project, it tells me key ABC is currently in use by project ABC-OLD. I viewed the project and could query by key ABCOLD. However, if I queried with ABC-1 (without OLD), it showed me ABCOLD-1.
The original project has types and schemes that are no longer valid, but the user is clear they want to keep the project name and key id for the new project, but built with different issue types and workflows. Since renaming the key didn't eliminate the original link, are there any other options? I thought about creating the "OLD" project and then having a bulk move of data, but it was a complicated project that would be ugly to re-create.
I'm open to any ideas! Thanks in advance.
This is by design, so that users can still query using the old key. You can't resuse the project key after renaming. See here: https://confluence.atlassian.com/adminjiraserver/editing-a-project-key-938847080.html
While editing the project key is a major change, in most cases, your Jira project will work as you'd expect with a new key. There are a few cases that you should be aware of, which are listed below. We recommend reviewing these and advising your users accordingly.
This happens so that the old key remains searchable when people have external issue links. In your example, the link to http://yourjira/browse/ABC-1 and ABCOLD-1 will both take them to the underlying issue.
If you have database access, and a steady hand (I never recommend messing with a Jira database, but this one is a little safer than most) you can destroy this and enable re-use of keys. If you do this, the link to ABC-1 will stop working, so you need to think carefully before destroying it (the key change will persist in the history, but you won't be able to search any more, and you may get some "interesting" questions from people about why their links now point at utter rubbish)
Stop Jira. Remove the old project from the project table, and remove all the lines in moved_issue_key that reference it as well. Restart Jira and re-index it immediately. Also, you will need to re-index Confluence if you have that linked to Jira, and you may have problems with Bitbucket, FeCru and Bamboo if you linked them as well (these, you may have to live with, unless you want to start editing commit messages and build history)
Hello, Atlassian Community! I thought it would be fun to do something different for my teams' last retrospective of 2019 so I'm planning to do a "year in review" with info-graphics. Wha...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events