Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with duplicate numbers in a project

JonB
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!
December 10, 2013

Hello all - We migrated a project from another instance of JIRA, and we're running up against an issue where we're generating issue numbers in the 1500's, but there are issues that exist already in the ~1700 area - what will happen when we start to overlap? Will it break, or does JIRA automatically use the lowest available number to create an issue?

1 answer

0 votes
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.
December 10, 2013

That sounds like you used an adhoc script, or worse, a database copy, to "migrate" the project, and you've missed at least one of the counter updates you needed to do.

Short answer is that this is going to break when you hit that number range, and what you may need to do is go back to the backup you took before you did the migration (then you can do the migration again, properly)

You *might* be able to avoid the crash if you've only missed the one counter. But I can't tell you that it's going to work without knowing how you did the migration.

That fix is to stop Jira, update the counter directly in the database so that it's higher than the highest number in the project and restart Jira. (From memory, it's pcount on the project table, but check the other columns in that table too, I might have the wrong name of column)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events