Forums

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

Calculate/update parent issue field on subtask creation/update

Erwin Saegesser December 21, 2017

I want to set a custom field in the parent issue whenever subtasks are created or updated. The custom field should reflect the number of open subtasks.

1-Create issue Parent-1 > Custom field "NumSubtasks" is "0"

2-Create subtask Child-1 > Custom field "NumSubtasks" of Parent-1 becomes "1"

3-Create subtask Child-2 > Custom field "NumSubtasks" of Parent-1 becomes "2"

4-Transition subtask Child-1 from Status "open" to "closed" > Custom field "NumSubtasks" of Parent-1 becomes "1"

5-Transition subtask Child-2 from Status "open" to "closed" > Custom field "NumSubtasks" of Parent-1 becomes "0"

Is there a post-function and/or script which I could use? 

1 answer

0 votes
vishal May 16, 2019

Hey Erwin have you got the any answer for this?

Erwin Saegesser May 17, 2019

We solved it by using the Workflow Plugin JMWE.

vishal May 17, 2019

Hey thanks for your reply i would surely go with JMWE.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events