How to auto close parent issue when linked issues are closed

Hi ,

 

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

 

Thanks,

Vijay 

3 answers

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

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 

 

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

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. 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,754 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot