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

This widget could not be displayed.

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. 

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

573 views 25 15
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