We frequently have a single work item attached to multiple Fix Versions, so we only want a ticket transition when all Fix Versions have been RELEASED. This is the current approach but it doesn't work:
Hello @brian_kurzius
Welcome to the Atlassian community.
I think instead of that Advanced Compare condition that you have highlighted you need to use this instead.
If any of the issues in the released version are also in a version that is not released, then this condition will fail and the rest of the steps will not be executed for that issue.
Works great - thank you Trudy!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @brian_kurzius -- Welcome to the Atlassian Community!
The {{issue.fixVersions}} smart value is a list, and thus your condition could be comparing something like this to true:
true, false, true, true
In your condition, you could collapse all of the version states together with the distinct list function so only one value of each type is returned for the comparison:
{{issue.fixVersions.released.distinct}}
And just to confirm...this will help manage transitioning for this rule. This will not prevent a person (or rule) from performing the transition otherwise.
When you want to prevent the transition by any method unless the condition is met, another approach would be needed using a workflow validator.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks Bill - the answer from Trudy was a bit easier to follow since i'm pretty new to automations :-)
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.