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 votes

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 Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

382 views 6 0
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