How do I update the subtasks based on the parent issue?

NAW May 17, 2016

Based on the status of the parent, I want to update the subtasks status.

That is when the parent = "completed" status, the subtasks should be = "completed" as well. Do you know if we can do this without using a plugin?

1 answer

1 accepted

1 vote
Answer accepted
Boris Georgiev _Appfire_
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.
May 17, 2016

That's not possible without a plugin. The way to do this is to add a workflow post-function to the workflow of the parent issue type which will transition all sub-tasks to "completed".

Here's a sample of how to do this with script runner:

 https://scriptrunner.adaptavist.com/latest/jira/recipes/workflow/postfunctions/auto-close-all-subtasks.html

and a recent related question https://answers.atlassian.com/questions/38745845

There are also other plugins that you can use to achieve the same result.

Suggest an answer

Log in or Sign up to answer