Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to transfer data from one field to another

Iliana Korzeniewski January 24, 2023

We have date data in custom fields that we want to copy to other JIRA fields.

Is there any way to copy the data and put it in another field within the same project?

3 answers

2 accepted

0 votes
Answer accepted
Prince Nyeche
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 24, 2023

You can just use the External system importer to copy the value into the right field using a CSV file. 

0 votes
Answer accepted
Tansu Akdeniz
Community Champion
January 24, 2023

Hi @Iliana Korzeniewski 

It depends on the field types but basically yes.

There are several ways to do it. You can use Automation (from Project Settings) and define a rule to copy field with specific trigger.

0 votes
Brant Schroeder
Community Champion
January 24, 2023

@Iliana Korzeniewski I am assuming that you would like to copy the data from one custom field to another on the same issue.  You could use an automation that would make the copy on a specific event.  You could use the scheduled event automation to be the event that kicks off the automation.  Once the update runs then you could remove the automation.  

Iliana Korzeniewski January 24, 2023

HI! @Brant Schroeder  Thank you for your answer.

Could you show me some example of automation to make the data copy?

Like Axel Schneider likes this
Brant Schroeder
Community Champion
January 24, 2023

@Iliana Korzeniewski Sure. 

You will want to create a new automation.  

For your Trigger just use Scheduled.  Set the day and time you would like it to run on.  could be Tuesday at 10:00am.  You will need to check the Run a JQL search and execute actions for each issue in the query.  This query needs to be a filter of the issues that you would like the action to be run against.  (For testing purposes you should have a query that points to a single issue, once validated you can open it up to all the issues that need to be updated.)

For Action you need to select edit issue.    Select the custom field that needs to be updated for the value you need to enter the custom field smart value.  It will be something like this {{triggerissue.customfield_10126}}   The numbers at the end need to be the ID of your custom field.  

Then you can save and turn on the automation.  Once it runs check and make sure everything updated as you wanted it.  Then update your JQL in the trigger and set a new time for it to run.  Then you can remove it after it runs and updates all the issues.  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events