Forums

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

I need to copy a subTask custom field value to all the other subTasks from the same Parent Task

Abhishek Anand
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 3, 2021

Requirement: In a Kanban board, when a custom field Field1 (of a Task or Sub-Task) gets updated

1. in a Task : then Field1 of all the Subtasks need to get automatically updated too.

2. in a Subtasks: then Field1 of the Parent Task and the remaining Subtasks of the same Parent Tasks need to get automatically updated to the same value.

I'm currently trying to use the below Post Functions to achieve this:

A. Copy field value to parent issue (JMWE app) :Copy the value(s) of a field to a field of the parent issue. Only applies to the sub-task/parent issue relationship. For the issue/Epic relationship, use the Copy Field Value to Related Issues post-function.

B. Copy field value to related issues (JMWE app): Copy the value of a field ta all related issues (such as linked issues, Stories of an Epic, Epic of a Story, subtasks of an issue, issues returned by a Groovy script or a JQL search, etc.)

With Option A above, I'm able to copy a subtask field value to parent Task. But I'm not able to find a way to copy field value from a Subtask to other Subtasks of the same Parent Task. 

Help will be highly appreciated.

1 answer

0 votes
David Fischer
Community Champion
November 3, 2021

Hi @Abhishek Anand ,

are you using these post-functions in Event-based Actions? If so, then using both post-functions on an event-based action that reacts to changes to that particular field will work, because when you modify the field on a sub-task, it will modify the field on the parent, and then the modification of the field on the parent will trigger the event-based action on the parent issue, causing the field to be copied to all sub-tasks.

Abhishek Anand
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 9, 2021

I'm using these Post Functions during the transitions steps of a workflow.

Is there any other way to achieve this auto-update of filed to related Parent/Child Tasks?

Suggest an answer

Log in or Sign up to answer