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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

131 views 5 9
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