Since we migrate to Jira 6.1, the field pkey in jiraissue table was set to NULL.
I need to generate KPI and pkey is used ... I need to adapt some sql statements but did'nt found where pkey is now store :-(
Tks for help,
Philippe
Hi Philippe,
To make the operation work fast we had to change JIRA internal storage, from now on jiraissue table store issue keys divided into project and issuenum. You must no longer use pkey and we null it in one of the upgrade tasks. There's also a new table storing all historical keys for a project. Read details in Preparing for JIRA 6.1.
I hope it helps.
Cheers
This is not elegant, but you'd want to do something like this (mysql example):
select concat(b.pkey, '-', a.issuenum) as PKEY from jiraissue a, project b where a.PROJECT = b.id and b.pkey = 'FOO'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Philippe,
The numeric value that used to be part of jiraissue.pkey is now stored in jiraissue.issuenum. The alpha part of the old pkey can be found in project.pkey for the issue's related project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.