This question is in reference to Atlassian Documentation: Editing a Project Key
We want the old project key NOT to be used in JQL queries. Its getting in the way of those queries was the reason we changed it! How do we stop this unhelpful behavior?
You'd have to remove the old project reference, which would make the old key not usable for any of fisheye integration, old issue references, etc. The point to renaming a project is that you don't lose all of your old context, including searching. I, personally, find this helpful, as otherwise everyone has to update their filters.
Actually, looking at the database, it would be project.originalkey you'd have to change. I have not tested this in any way, but if you update that column I'd imagine it will cause JIRA (after re-indexing the project) to be completely unaware that the project had a different key in the past.
Just curious, how was the old key "getting in the way"? If it's that you want to be able to quick search for that key as "text ~" instead of "project=", I've generally been successful just wrapping it in quotes in the search bar.
FYI, the history of Project Keys as used for HTTP redirects etc is stored in the ProjectKey table.
The Project.originalkey column is used for storage of Attachments on disk ... for legacy reasons we store files under the project key ... rather than moving 250TB of data on project update, we just keep using the originalkey just for attachment files.
Hi there! Shannon from Statuspage here. 👋 With Cyber Monday quickly approaching, we're looking to hear from Atlassian customers – specifically from teams who touch incident response li...
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