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 for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Accepted answer

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

Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,154 views 5 10
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