Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Change status of current issue to closed when all linked issues are closed

Rosana Casilli
Contributor
November 23, 2021

Hi all!!

 

I am trying to do the following by using an automation (i couldn't find any way to do it) or using JMWE.

 

The user want to close the issue when all its related issues are closed (they could be from different projects)

 

Is there any way to do it by using JMWE? or should I need any other addon to do it?

Thanks in advance,

Ro

1 answer

1 accepted

0 votes
Answer accepted
David Fischer
Community Champion
November 23, 2021

Hi @Rosana Casilli ,

you can achieve this using JMWE for Jira Cloud.

On the Close transition of the related issues (not the "parent" issue), you need to add a Transition Issue(s) post-function that triggers the Close transition of the "parent" issue's workflow. This will automatically close the "parent" issue.

Now, you also need to add a "Linked Issues Status Condition" workflow condition to prevent that "parent" status from being closed unless all of its linked issues are Closed This will ensure that the Transition Issue(s) post-function actually does nothing to the "parent" issue unless all its related issues are closed first.

Of course, you'll likely need to specify the issue link type explicitly, including the right "direction", on both the Transition Issue(s) post-function and the Linked Issues Status condition - the link "directions" will be opposite.

David

Rosana Casilli
Contributor
November 23, 2021

Thank you so much @David Fischer I will try it and let you know if I have any questions

Rosana Casilli
Contributor
November 24, 2021

Good morning @David Fischer  Just to let you know that I did what you suggested me and it worked perfectly!!! thank you so much!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events