Reuse Project key after renaming

Sven Kruse August 23, 2018

Dear support.

I want to use a project key that has been used before.

The systems tells me "Project 'xxx' uses this project key."

The fact is that this key has beenn used in a project once and then has has been renamed

I already removed the existing key from the database but the error still shows up.

 

Please HELP!

 

Kind regards,

Sven Kruse

4 answers

3 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 23, 2018

Hello,

I would not delete anything from the database. But here a ticket in Atlassian and there is a workaround. Kindly read it:

https://jira.atlassian.com/browse/JRASERVER-34945

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 23, 2018

@Sven Kruse I guess , that is how you should do it. But I would check it first on a staging instance

Markus Pöhler
Contributor
September 3, 2020

Quote from the ticket:

"Currently, there is no workaround to re-use a project key."

1 vote
Sven K.
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 26, 2018

Hi Matveev,

I made a test with a dummy project and the workaround is not working for me.

Here is what I did:

1. I created a new project with the key "XYX"

2. I entered the database via PHPMyAdmin and I search through all tables after that key "XYX"

3. I manually changed that key in each table I found it.

At the end the key "XYX" cannot be found anymore in the database.

But still the project is named after "XYX"

0 votes
Sven Kruse August 23, 2018

Hi Alexey.


As far as I understand the for me would be like this ...


1. Create a new project with a random key like "XXX"

2. In the database delete the blocked project key from the key table

3. In the database rename the new XXX key with the old key


Is this correct?

0 votes
Sven Kruse August 23, 2018

See how I searched through the database finding the KEY

 

Bildschirmfoto 2018-08-23 um 10.10.16.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events