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.