Move values in few custom fields to a new custom field or a system field.


We currently have few custom fields which we want to remove eventually. So, before we remove them we want to move the data in these custom fields to a new custom field or any system field like Description.

If below are the custom fields -

Source Server = ABC

Target Server = XYZ

I want the below change -

Description = Source Server = ABC

                       Target Server = XYZ

So, I want the custom field names and their values appearing in the Description field or any other custom field say Service Request Details. 

We have 300+ issues in a project and we want to make this change to the existing issues. I have weighed options to create a post-function but I believe it works only with new issues created. Also, an export and import but we have to make modifications in the spreadsheet I believe. Also, doing an export and import will change the issue numbers right? 

Please let me know the best way to do this.

1 answer

0 vote
Alexey Matveev Community Champion Jan 22, 2018

You would need an add-on for it like Power Scripts or Adaptivist ScriptRunner. 

If you have Power Scripts add-on then your post-function would look like this

description = "Source Server = " + #{Source Server} + "Target Server = " + #{Target Server}

You could also write a job based on the script above and run it for the old issues.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 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