Jira 6.1 : the issue keys have disappeared in the database

Hi, I have just upgraded Jira from 4.4.5 to 6.1, and I noticed that the column "PKEY" in the table "JIRAISSUE" is empty. I use Oracle 11g.

Could you tell me where are the issue keys in Jira 6.1's database?

4 answers

1 accepted

7 votes
Richie Gee Atlassian Team Nov 13, 2013

Hey there, surprise to see you here as well :)

Jobin is correct about the project key changes on the version 6.1 and above, the error from integrity checker is tracked on the following bug ticket.


pkey is no longer in use and has been replaced by issuenum and project to retrieve the project key instead.

Please also accept the answer so the community benefits from it :)

I see the "/secure/admin/IntegrityChecker.jspa [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=null) has empty field 'num'. Returning null for 'key'" warning as well (specifically while running the integrity checker).

Does your answer mean that this is expected behaviour and should be ignored, until the integrity checker is updated to know about it?

Hey Pierre,

That's odd. I have tested on my side using a JIRA 6.1 and the pkey is visible on my side in the jiraissue table. How about when you startup your JIRA instance? Does everything work as expected?

I have just checked the log, and that line appears 70277 times (similar to the number of issue I have):

2013-10-14 09:58:11,569 http-bio-8080-exec-23 WARN pcaadmin 595x187x1 pgk0ja /secure/admin/IntegrityChecker.jspa [atlassian.jira.ofbiz.IssueGenericValue] Issue (id=null) has empty field 'num'. Returning null for 'key'.

0 vote

Hi Pierre,

What steps did you take to perform your upgrade?

If your entire data for pkey is missing from the database, you may have to raise a support ticket on https://support.atlassian.com, attaching your complete logs, so that this can be looked at properly.

Thanks for your answer. I have upgraded Jira by pointing the new jira installation (6.1) to my old database (used in 4.4.5).

The column PKEY still exists in the database, but it is completely empty. Even when I create a new issue, the column PKEY has no value for that issue. Is it because of the database changes (new column ISSUENUM in table JIRAISSUE)?

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