How can i change the status of a service desk issue only when all of its linked issues got resolved ? I'm able to do that once any linked issue gets resolved but id like to trigger it once they all are resolved instead
Hi @Berna Yavuz ,
this is possible with the Automation engine in Jira. You can create a rule that will trigger on a transition, check for the linked issue if all its other linked issues are also resolved, and then change its status. It might sound a bit complicated but you can see on the attached screeshot that it's quite simple :
Let me know if this helps,
Hi @Berna Yavuz
the guide from Alexis should get you started. I just wanted to add that your requirement
How can i change the status of a service desk issue only when all of its linked issues got resolved
could be understood also in a way that the transition of your issue should be blocked (you want to prevent a transition) as long as the linked issues are not resolved.
If so, a validator/condition on the workflow transition would be needed.
However, for the other way aroun...
I'm able to do that once any linked issue gets resolved but id like to trigger it once they all are resolved instead
...the guide of Alexis should suffice.
I only mention this distinction as both requirements are quite common and regularly requested here in Community.
Unfortunately there is a misunderstanding regarding my first post.
I'm using the rules on the legacy automation page. You can see it in the picture. Here, when a linked issue is closed, I transition the service desk issue to UAT status, but if there are other continuing issues that are linked to my service desk issue, I do not want it to transition to this.
There are issues from different projects linked to the service desk issue.
I couldn't find a way to do this by automation or by adding a validator / condition to the workflow.Thanks for your help
Using Automation I built you a rule the following - it is tested and works fine.
But this would need to switch to Automation.
The rule triggers on commenting your "main" issue and checks if ALL linked issues are in status "Done". If so, the "main" issue (the one which links all other issues) is transitioned to done, too.
If this is not an option here is a previous discussion on Service Desk/Service Management project automation:
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events