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

Hi,

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?)

Bryan,

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.

Thanks,

Arpit

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

81 views 0 5
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