Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira PKEY history

Uta Zimmermann
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 24, 2018

Hi,

when I change the project from a jiraissue, the pkey (project.pkey + jiraissue.issuenum) change. How can I find the old pkey, how is the relation between the old and the new pkey? When I put the old pkey in the searching-field, jira find it and shows me the new, so there have to be a relation in the database..

Thanks for help,

Uta

 

2 answers

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 24, 2018

There's a table called moved_issue

The fact you're asking though worries me, as you should never be trying to use a Jira database directly, even for just reporting.  It will hurt you.

Uta Zimmermann
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 27, 2018

Thank you very much..

0 votes
Marcos PS [DEISER]
Contributor
May 24, 2018

Hello Uta,

As you said, the relation is stored in the DB, being more concrete, in the table project_key, there you can find all the current and previous project keys associated to the project ids.

If you need to make this information accessible thru a Jira custom field you have to use 3rd party addons able to create new custom fields and populate them with DB query results like nFeed (pay) or PowerCustomFields (free)... and sure you can find some more.

Additionally, please, take a look to this documentation in order to understand better what a pkey change involves.

Best regards,

Marcos.

Marcos PS [DEISER]
Contributor
May 24, 2018

mmm... I see you moved the issue not changed the pkey... I read what I wanted to read!.

Nic's answer have sense :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events