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?
You can just use the External system importer to copy the value into the right field using a CSV file.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI! @Brant Schroeder Thank you for your answer.
Could you show me some example of automation to make the data copy?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.