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
Accepted answer
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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,792 views 18 22
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