Can we reset the issue id in a project by deleting all the issues of that project

Can we reset the issue id in a project by deleting all the issues of that project

1 answer

1 votes

No.

You need to delete them all and then make a database change (it's always risky doing that, but resetting a project counter is a reasonably safe database hack.  You will need to have JIRA offline while you do it)

Or you delete the project and create a new similar one - same effect But in this way you have to change the schemes again if they aren't set default.

Although more recent versions of JIRA remember dead projects and block the re-creation. I don't know if there's a way to supress that. The other problem is if you have issues you have moved out of the "dead" project. Let's say you create ABC-1, ABC-2, ABC-3, then move ABC-2 into XYZ where it becomes XYZ-45. Then you delete project ABC. If you now search for ABC-1 or ABC-3, you will get "issue is not there", but ABC-2 will give you XYZ-45. If you delete and reset the numbers, when you create ABC-2, you may find some odd issues with it, especially if it was ever in an Agile Sprint (although the behaviour should be that ABC-2 now refers to the new one at all times)

Joe Pitt Community Champion May 05, 2015

I agree with Nic. The safest course is to create a new project and remove all permissions to the old one. I recommend never deleting anything unless it was a project used to test JIRA schemes or train folks on JIRA. Anything that was ever production might be called for again. Just search the forum for reference to how to undelete or restore issues or projects and you'll see it WILL come back to haunt you or your replacement someday.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,958 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot