This question is in reference to Atlassian Documentation: Editing a project key
I ran into a problem were I composed a project which created the project key I had also changed the key. I need to delete the project key associated with this project the reason being I had to create another project with identical name but the project key was conflicting as it said I was trying to use the project key that already existed. Any help with this?
I'm afraid Ravi's answer here is not correct.
Any project keys you create are recorded and kept for historical reasons. JIRA will prevent you from creating a project with an existing key, that makes perfect sense, as you already have a project with that key.
But it will still prevent you from using a key that existed before, even if you change the project key or even delete the original project. It needs a record of removed projects for the history search, so it stops you creating projects with keys that have existed before.
The only workaround is to go into the database and remove the old project key from the table it is stored in. That is only safe to do if you have never created any issues in the dead project, or you have deleted all of the issues that have ever been in it, remembering that it is possible to move issues out of a project and into another one. If you have moved issues out, there's another table you can remove records from, but that does break the history search.
The only workaround is to go into the database and remove the old project key from the table it is stored in.
Seems like that my first-choice database place for keeping the old key (project_key table, project.originalkey field) is not the right place to look for.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
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!
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