Forums

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

How to change the subtasks field value which is copied from parent to all subtasks

Lakshmi CH
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.
November 8, 2022

Hi Team,

 How to change the subtasks field value which is copied from parent to all subtasks when same parent field value is changed. We have 'Escalation?' field value copied over to subtasks from the main tasks while creating the subtask. I would like to change "Escalation?" field on all subtasks when we changed on main tasks anytime. For example If we changed the Escalation? = yes on main tasks, it should change all subtasks to Escalation? = yes. 

We have scriptrunner, JMWE and JSU addons. Is it possible ?

Thanks for your help!

1 answer

1 accepted

0 votes
Answer accepted
David Fischer
Community Champion
November 8, 2022

Hi @Lakshmi CH ,

with JMWE, you can create an Event-based action that listens to the Issue Field Value Changed event, and under Post-functions, you'll add a Copy Field Value to Related Issues post-function to copy the Escalation? field to sub-tasks of the current issue.

Lakshmi CH
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.
November 9, 2022

Hi @David Fischer 

 Thank you for quick response. This is working as expected. 

David Fischer
Community Champion
November 9, 2022

Hi @Lakshmi CH ,

can you please "Accept" my answer in that case? Thanks.

Suggest an answer

Log in or Sign up to answer