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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.