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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

152 views 1 17
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