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

Paresh Gandhi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 4, 2014

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
Answer accepted
Henning Tietgens
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 5, 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?

Vishnukumar Vasudevan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 5, 2014

That's it :)

Paresh Gandhi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 5, 2014

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 9, 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