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

Hi,

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

This widget could not be displayed.
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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

157 views 1 3
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