jira issuekey screwed up after upgrading to 7.2.6

My JIRA was recently upgraded to 7.2.6 from 7.1.10 by using the database native tool to recover the datebase. Before upgrade it worked as expected.

After the upgrade, I noticed that the issueKey was off by 50 between the issuenum stored in the jiraissue table and the key displayed on UI. For example, the issuenum is 495 but UI says it is xxx-445. 


2 answers

0 vote

Er, you don't do upgrades by "using a database native tool to recover it"

But, assuming that means you only used that to copy the data to a new place and then ran the actual upgrade process against it... How do you know that these issue ids are wrong?

I upgraded JIRA by following https://confluence.atlassian.com/adminjiraserver071/upgrading-jira-applications-manually-802592252.html

The steps related to the database are:

  1. Backup DB using native DB tool instead of JIRA xml tool
  2. Create a new empty DB
  3. Point the new JIRA 7.2.6 to the new DB and start it up
  4. Shut it down after it fully started
  5. Recover the data from the backup into the empty DB using database native tool
  6. Start the new JIRA

Now if I create a new issue from JIRA UI, it temporarily displays "Issue DV-497-xxxx has been successfully created" then fades away. Now I refresh the project and it lists the newest issue is DV-447. The newest jiraissue table entry also has the issuenum=497. 

Reindex fixed the problem. Thanks Nic anyway for looking at this. 

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,319 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