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

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 :)

0 vote
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!

How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

346 views 4 9
Read article

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