close subtask when parent is closed

I would like to close all subtasks automatically when its parent is closed. Is there a way to do this without groovy scripts?

2 answers

1 accepted

Comments Closed
This widget could not be displayed.

You don't need to write any groovy scripts yourself, as an auto-close subtasks one is provided with the Script Runner plugin. You would only need to make sure the sub-task Ids are correct.

Otherwise I suggest you vote for https://jira.atlassian.com/browse/JRA-17500

@Eddie Webb

I have voted too.

I have the Script Runner plugin, but I have it for Cloud.

The example linked here: https://jamieechlin.atlassian.net/wiki/spaces/GRV/pages/33030170/Post+Functions#PostFunctions-Autocloseallsubtasks is for Jira Server instead.

Do you know where I could find similar information for Jira Cloud?

Thanks :)

This widget could not be displayed.
Andreas Knecht Community Champion Nov 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 easily change this to "Closed" as well)

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

Hi there - which automation rule are you using?  I can't seem to find a when condition for "Issue Transition" only "Linked Issue Transition"  Thanks!

Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

290 views 5 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you