Project 'X' uses the key appears even if I already changed the key of Project 'X'

  1. I changed the project 'X' key to a different one (adding 02 to the key)
  2. I re-indexed the project so that the new key will be applied to the project
  3. I created a new project 'Y' in which I will be using the key from the previously changed key from project 'x'
  4. Upon submitting the details of project 'Y', the system notifies me that the key is already used by project 'X' in which I already changed and re-indexed

Question: How do I use the key from project 'X'?

1 answer

2 votes
Daniel Eads Community Champion Aug 06, 2017

Hi Sherwin,

We've had to do this a couple times for various reasons. In general, it's not good to reuse an old space key (as you run into various errors like this) but it can be done with a little wrestling.

JIRA keeps track of the previous keys of issues - so if someone went to X-99, it would redirect them to the new key you set up X02-99. Because it's still keeping track of the 'old key' in the database, the check to make sure there's no in-use project with the same key when you're creating project Y fails. Otherwise JIRA would be confused trying to figure out which X-99 you actually meant. It's a little counterintuitive for you since you just moved the project key, but in general it helps users get to moved issues instead of throwing 404 errors.

What you have to do is move project X twice. That will make X02 the 'old' key for JIRA's tracking purposes and then the in-use check for X will pass. If you want to keep using X02 as the project key for that project, you can change the key to X03 and then back to X02.

Hi @Daniel Eads ,

Thank you for your immediate response. Here's what I did.

  1. Changed the Project key from X to X02, then after I read you reply I changed it again to X03
  2. Go back to the Project Y settings and reuse the old key of project X ('X')
  3. JIRA still notifies me that it is still in use. Still No luck.
Daniel Eads Community Champion Aug 10, 2017

Hmm - do you have access to your database? Try this:

  1. Open the PROJECT table
  2. Find the row of the 'old' project (X) and take a look at the ORIGINALKEY
  3. If the ORIGINALKEY value is still X, change it to Y

I think the above might be in play for you - try getting that cleared and try creating the new project again.

Hi,

Unfortunately our JIRA is cloud based so I think there's no way I would be able to access that unless I ask for a JIRA support right? But I will try to ask for their support for that. If you have an alternative way for these issue of mine please I would gladly appreciate it.

Thank you @Daniel Eads

I am having the same issue. Is the solution to this problem been found?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

239 views 0 3
Read article

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