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

1 vote
Accepted answer

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.

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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

808 views 3 9
Read article

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