When a new version is released in one of my projects, I would like an automated action that finds the tickets from that fix version that are linked to tickets from another project and update their status.
Pseudocode of what I'm trying to do:
I can't find a way to add a loop within a loop ("For linked issues" inside "For issues in fixed version").
I also tried making the release update a custom field that would then trigger another rule to update the status of linked tickets but couldn't figure out how to use the custom field update as a trigger either.
Is there any/another way of doing this?
Hi @Dom
With an automation rule, you cannot nest branches/loops currently.
What you can do is divide and conquer to solve the problem with 2 rules:
Kind regards,
Bill
Hi @Bill Sheboy
Thanks for your suggestion. It is similar to my second attempt. I got it working by creating a very specific comment that then acts as a trigger to the second rule.
Best,
Dominic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
have you tried the 'Lookup issues" action?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Dom.
As an FYI...everything in automation rules has the 100 issue limit: triggers with JQL, branches, and Lookup Issues. One work-around is to chip-away at a problem, 100 issues at a time, by marking issues so that they are not picked up by subsequent rule executions. e.g. by adding a flag/value so they no longer match a JQL statement, and allowing the rule to run repeatedly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.