Does deleting the project release the project key

Jari Romo
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!
July 5, 2022

We are taking could based JIRA in use at our company. Some of the earlier admins (already left) have been trying out things and create a projects with real project names and therefore crating also Project Keys with real content. Now this was found and brought to my attention. He was using real project name and Key and therefore we have a problem. He also tried out different project types with real names and project keys.

Now my problem is that I have one project having wrong project type. All our projects are Software - Company Managed but this problematic one is Software - Team-managed. We should now get actual project created and planned with correct project key.

I wanted to change Project Key, cannot do for some reason. Change the project type, cannot do as was explained to be difficult.

So my question is can I just delete project which is created wrongly and save the project key by that way. If we need to change the project key it would have major impact to company naming rules.

 

3 answers

3 votes
Max Foerster - K15t
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 5, 2022

Hey @Jari Romo and welcome to the community.

Deleting the project will free up the key. That's correct. :) 

Best, Max

Jari Romo
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!
July 5, 2022

Thank you I'll try.

The drafted project is not used and therefore we do not have any problem to delete it

 

Jari

Like Max Foerster - K15t likes this
2 votes
Mayur Jadhav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 5, 2022

Hi @Jari Romo ,

Welcome to the Atlassian Community!!

If you delete the project permanently from the Jira cloud it will release the key and you can use it for future project creation.

 

Note: If you delete project permanently, it means it will be deleted completely,

 

Regards,
Mayur 

1 vote
Nic Brough -Adaptavist-
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.
July 5, 2022

No, you won't be able to create a new project with a used key.

Jira keeps a record of keys in order to preserve the issue histories.

Connor
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.
July 5, 2022

Is Atlassian's documentation incorrect then? From that page:

You won't be able to create a new project with the old project key. The old project key will only be available if you delete the project it was previously associated with.

Answers to this community question indicate Atlassian's documentation is correct, and the project key can be reused if the project is deleted.

Piotr Janik
Contributor
July 20, 2023

@ConnorThis ticket is about Jira Server & Data Center, not Jira Cloud.

I've just checked it on a test environment, and it seems to be even more complicated: you can reuse the project key, but if you've ever moved a ticket to another project, Jira won't let you reuse this ticket's ID. So if you have a project TEST with tickets up to TEST-10, then move them all to another project, then delete and recreate the project, the first ticket in the recreated project will be TEST-11, not TEST-1. For the latter to happen you'd need to delete those moved tickets as well.

Nic Brough -Adaptavist-
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.
July 20, 2023

Yes, that's correct, I'm afraid the previous "correct" answers are wrong for server (and the docs referenced are for Cloud).

With Server, you have to delete the project, then all the issues that have been moved out of it, and then go into the database and delete the lines from the project table.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events