Copy custom field values between child work items and parents with Jira Automation
Platform Notice: Cloud Only - This article only applies to Atlassian apps on the cloud platform.
Summary
Jira Automation provides various ways to modify work item fields, allowing for replication of field data between parent and child items. However, note that aggregate calculations such as roll-ups of values (e.g., summing 'Original Estimate' from child to parent issues) are not natively supported beyond subtask-parent relationships. In such cases, automation rules must be set up to achieve the desired results.
Solution
Create child work items including a copied value from parent items
In this example, we'll use a Manual trigger that will be executed from the Parent work item. It's also possible to use Automated triggers, including the Issue edited or Scheduled triggers if you prefer. For copying a field value (e.g., 'Component') from an Epic to linked Tasks, you can set up an automation rule triggered upon Task creation. Add a condition to confirm the parent is an Epic, and configure an 'Edit Issue' action to copy the desired field from the Epic to the Task.
Note: This counts towards your monthly Automation rule execution limits.
Go to Project Settings > Automation > Create Rule
Select Manual trigger
Optionally, you can choose to only display this trigger on your parent work item types
Select Add an action
Choose the Create work item action
Select a work type that is lower in the hierarchy than your trigger work type
Add a Summary to the created work
If you would like a dynamic summary based on the parent, we'd suggest using a Smart Value
In the Choose fields to set selector, select the Parent field, and any fields you'd like to copy to the newly created work
Set the Parent field to the Trigger issue
For the fields you'd like to copy, select ... (more options) > COPY > Copy from Trigger Issue
Copy field value from child work item to parent
Here, the trigger issue will be the child issue instead of the parent.
Go to Project Settings > Automation > Create Rule
Select Manual trigger
Optionally, you can choose to only display this trigger on your child work item types
Select FOR EACH: Add a branch > Branch rule / Related issues > Parent
Add the Edit work item action to the new branch
Select any fields you wish to copy
For each selected field, select ...(more options) > COPY > Copy from Trigger Issue
Copy field value from one child work item to parent, and all children of the same parent
We'll need two automation rules to accomplish this task, but both are triggered with only one user action.
We'll use a Manual trigger on the child work item to update a field on the parent. This will subsequently trigger the second rule, which runs on all additional child work items that have the same parent as our trigger rule.
Go to Project Settings > Automation > Create Rule
Select Manual trigger
Optionally, you can choose to only display this trigger on your child work item types
Select FOR EACH: Add a branch > Branch rule / Related issues > Parent
Add the Edit work item action to the new branch
Select any fields you wish to copy
For each selected field, select ...(more options) > COPY > Copy from Trigger Issue
The next rule runs automatically, triggered by the parent work item.
Go to Project Settings > Automation > Create Rule
Select the Field value changed trigger
Choose one of the fields edited by your previous rule
Select FOR EACH: Add a branch > Branch rule / Related issues > Children
Add the Edit work item action to the new branch
Select any fields you wish to copy
For each selected field, select ...(more options) > COPY > Copy from Trigger Issue
In the Rule details for this rule, ensure the box labeled "Check to allow other rule actions to trigger this rule" is checked
Otherwise, this rule will not run automatically after our previous rule
Was this helpful?