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 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...

212 views 1 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