Is there a way to track previous issue id in a custom field?


I'm curious -- let's say you move an issue from one project to another. I know you can look at the history and see the old issue id -- but is there a way to capture the old issue id, and save it in a custom field? This would make my migration project a lot easier.

4 answers

1 accepted

Well, if you already have the issue created you may use Bob Swift's CLI plugin. Using this tool, you can copy issue's key field and paste it to the custom field. First method would only work for the future issues.

Thanks -- I'll do that.

Hello Bryan,

I think you can try the following if you get the "JIRA Misc Workflow Extensions" plugin. It's free:

  • Create a new custom field and name it "Original Id"
  • In the workflow, edit "create" transition
  • Add "Copy Value From Field to Field" post function
  • Copy "Key" to the new custom field

This way you have your original key stored in a seperate field.

Best regards

0 vote
Joe Pitt Community Champion Jan 02, 2013

You'd want to put the custom field on the view screen only or make it a read only field so users don't mess with the value. However, I think the original intent was to do it when the issue is moved to a new project.

Thanks guys -- yes, I want to move issues to a new project, and retain original key in a custom field. I followed the above tips, but it is not populating the field. I'm guessing an issue move is not considered a workflow task (or at least not a create new issue task?)


You can copy the key to custom field within same project by moving issues to a test status and back to original. Then move issues from one project to another.



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,183 views 13 19
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