How to auto close parent issue when linked issues are closed

Vijay Sv May 10, 2015

Hi ,

 

Is there any way to Auto Close parent issue when linked issues are closed?

 

Thanks,

Vijay 

3 answers

1 vote
Mario Günter
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.
May 11, 2015

Hi Vijay,

you could use the JIRA Misc Workflow Utilities from Market Place (paid) - as far as I know is there an option "Transition Parent Issue".

Or - if you want script yourself - you could install Script Runner from Market Place (free) and execute that script in your workflow on transition close.

Cheers,

Mario

Mario Günter
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.
May 11, 2015
0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
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.
May 13, 2015

You can add a conditioned Transition issues post function (Create on Transition for JIRA) on the close event that would run a jql query. You would need to be able to determine what issue needed to be closed and construct the query so that it would would determine when all the linked issues are in the correct state. 

0 votes
Vijay Sv May 11, 2015

Thanks Mario,  JIRA Misc Workflow Utilities works well for Sub-tasks, however i need similar functionality for linked issues like "related to" , "duplicated by" .


  • Vijay 

 

Mario Günter
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.
May 11, 2015

Hi Vijay, please give us an example of what you mean with parent and linked issues. Are the "linked" issues subtasks of the "parent" one? Cheers, Mario

Suggest an answer

Log in or Sign up to answer