How to increase ticket sequence

Hi all,

I going to migrate our tickets from old system, but before this I want to normally use Jira.

I think about:

increase "ticket number sequence" to value greater of existing number from old system
start new tickets from this value
prepare migration procedure
migrate old tickets

I tried to change project.pkey value in DB, but it doesn't give effect. After change to '3000' my new ticket have number +1 from the previous one. I also tried to change project.pkey AND pkey of the last ticket in my project in jiraissue table - also without result.

Is there any possibility to do this with MySQL backend?



2 answers

1 accepted

1 vote
Accepted answer

What you need to update is project.pcounter. And ofcourse restart JIRA because it is cached as Nic suggests.

1 vote

Did you stop Jira before making the sql change? It caches a lot of stuff, including the project counter, so if you didn't stop and restart, you could have broken it.

Great, it works.

I thought, that changing values with running Jira should work. Thanks a lot.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,172 views 5 10
Read article

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