Automation : Copy custom field values between subtasks and parents

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

This article offers a solution for utilizing Jira Native Automation to efficiently copy field values between Parent Issues and Subtask Issues.

Solution

Jira Automation provides different ways for modifying issue fields. It enables the smooth replication of these edits across various subtasks.

Please go through the below examples to learn how the issue field can be synced between parents and sub-tasks.

Copy Field Value from Parent to Subtask

  1. Go to Project Settings > Automation> Create Rule

  2. The Trigger issue is the Parent

  3. One could either configure an Automated Trigger or have a Manual Trigger to run from the Subtask Issue; as stated in Jira automation triggers, for the purpose of this example we will use Manual Trigger.

  4. Then for the Trigger Issue ( Parent ), Select Actions > Create Subtask

  5. Then we introduce a For-Subtask branch signifying the Subtask of the Trigger Issue ( Parent )

  6. Inside the Branch select Actions > Edit Issue Fields > For a test we select "Due Date" as the field and select the 3 dots (...) and select Copy

  7. Copy Due Date from Parent Issue

Copy Field Value from Parent to Subtask Sample

Copy Field Value from Subtask to Parent

  1. Go to Project Settings > Automation > Create Rule

  2. The Trigger issue is the Subtask

  3. One could either configure an Automated Trigger or have a Manual Trigger to run from the Subtask Issue; as stated in Jira automation triggers, for the purpose of this example we will use Manual Trigger.

  4. Here the trigger issue is the Subtask and then we introduce a For-Parent branch signifying the Parent of the Subtask

  5. Inside the Branch select Actions > Edit Issue Fields > For a test we select "Due Date" as the field and select the 3 dots (...) and select Copy

  6. Copy Due Date from Trigger Issue

Copy Field Value from Subtask to Parent Image

Copy field from one Subtask to all Subtasks of the same Parent

This involves creating 2 rules in this Automation to differentiate between For-Subtask and For-Parent First Rule

  1. The Trigger issue is the Subtask

  2. One could either configure an Automated Trigger or have a Manual Trigger to run from the Subtask Issue; as stated in Jira automation triggers, for the purpose of this example we will useManual Trigger.

  3. Here the trigger issue is the Subtask and then we introduce a For-Parent branch signifying the Parent of the Subtask

  4. Inside the Branch select Actions > Edit Issue Fields > For a test we select "Due Date" as the field and select the 3 dots (...) and select Copy

  5. Copy Due Date from Trigger Issue

Copy field from one Subtask to all Subtasks of the same Parent Image First Rule

Second Rule

  1. The Trigger issue is the Parent

  2. The Trigger is "When Field Value Changes"

  3. Then we introduce a For-Subtasks (ALL) branch signifying the Subtask of the Trigger Issue ( Parent )

  4. Inside the Branch select Actions > Edit Issue Fields > For a test we select "Due Date" as the field and select the 3 dots (...) and select Copy

  5. Copy Due Date from Parent Issue

Copy field from one Subtask to all Subtasks of the same Parent Image Second Rule

Updated on July 14, 2024

Still need help?

The Atlassian Community is here for you.