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 votes

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 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,115 views 4 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