Change the pkey with the issueID

Hi...

I know that it could be a crazy question, but....

Is possible to change in Jira, the PKEY of the issue that i have in JIRA, with the ISSUE ID of the issue??

I wanto to see in the page of the issues and in the search page, the number of the issue and not the pkey; because I have a lot of isseus that I have to shift from one project to another, not only one time, but a lot of time... so it could be very difficult manage the change pkey that I have every time that I move from one project to another...

regards,

Marco

2 answers

1 accepted

Accepted Answer
1 vote

hi Marco,

we have had the same issue where we shift a lot of issues between projects and as such loose the issue key that is shown in JIRA.

What we have done, and what is your best bet, is to develop a custom script that axtracts the issueID fromt he issue with script-runner and assign the result to a custom field and use this as your reference.

but can I also view on the summary of the issue??

Look at the issue as normal. The only thing that has changed is the key of it, and Jacques has explained a very good way to show the old, pre-move key. The rest of the issue is untouched by a move.

0 votes
Henning Tietgens Community Champion Mar 18, 2013

You can use ScriptRunner, create a Scripted Field as suggested by Jacques. The script is very easy

issue.id

Select both number templates if asked.

The scripted custom field could be displayed in the issue navigator and on the view issue screen. Not on the same position as the key, but on the same screen.

Henning

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

461 views 7 5
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