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?

Bests,

Tomek

2 answers

1 accepted

1 vote

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 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 ...

3,338 views 14 20
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