Can I automatically close any/all subtasks when the parent task is closed ?

Kristen Viscardi May 17, 2016
 

3 answers

1 accepted

1 vote
Answer accepted
GabrielleJ
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

Yes you can but you will need an add-on to do that (like the JIRA ScriptRunner).

JIRA does not have a native functionality to close a sub task once the parent issue is closed.

Kristen Viscardi May 18, 2016

We do have the JIRA ScriptRunner plugin.

2 votes
andreas
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 21, 2016

There's now a very easy to configure way to transition parents and sub-tasks in sync using Automation for JIRA!

You can easily modify related issues (such as parents, stories, sub-tasks, epics, linked issues and even JQL) using our related issues action and condition:

(this example transitions sub-tasks to "In Progress", but you could change that to "Closed" very easily)

For more details see https://blog.codebarrel.io/synchronize-parent-and-sub-task-issues-with-automation-for-jira-bdcca6c9d453

0 votes
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

Here's a sample from the ScriptRunner documentation on how to do what you want

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

Suggest an answer

Log in or Sign up to answer