A while back, we had JIRA 3 and started a new server with JIRA 6. We imported the old issues we'd need or maybe would come in handy. These keys are very hogh, like 49700 and up.
I don't remember exactly what happened after the import, because we also have "new" ticketnumbers (looks random although we don't delete tickets).
My question is: how can I get JIRA to start over with the keys, beginning at 1?
Every project will have its own sequence of numbers. I suspect that the reason why yours are numbered 49700 and higher is that several attempts were made to import from the previous instance and then deleted until the import was deemed a success.
For more detail on how (and why it is hard) to reset a project key to restart at 1 see https://answers.atlassian.com/questions/228454.
So the migration from 3 to 6 retained the keys (and these were already at 49700 and up) Is it possible that some of the original issues in 3 were imported from another source? Either an even earlier version of JIRA or maybe by the use of CSV? The same principle would apply there of each key being uniquely assigned and even if the issue is deleted the key would be considered used.
Remember not to set a key number lower than the highest numbered issue you already have. The obvious problem is that eventually the numbers will catch up (so if you have abc-50 in the project and you reset the counter to 1, JIRA will have massive problems when you reach abc-49 and try to create a new issue). But it also breaks some add-ons and reports in quite unexpected ways.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG