Groovy script or workflow transition to close issue once all dependent issues are closed

I'm looking for workflow auto transtion or groovy script which can close parent ticket automatically once all the depedant tickets gets closed/resolved

1 answer

1 accepted

2 votes
Henning Tietgens Community Champion Jun 05, 2014

The already is a built-in post function Transition parent when all subtasks are resolved within Script Runner. Is there a reason you can't use this one?

That's it :)

Those are not subtask.

Will it work for linked issue as well. If all the linked issue get closed, will it close parent one from where those got created

Henning Tietgens Community Champion Jun 09, 2014

No, it wont. But you can use the script as a starting point and collect linked issues of the issue through the IssueLinkManager.

Suggest an answer

Log in or Sign up to answer
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 Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

847 views 3 12
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