Forums

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

How to set an automation to only transition a work item when all Fix Versions are released

brian_kurzius
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 1, 2025

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:
Screenshot 2025-07-01 at 4.37.50 PM.png

2 answers

1 accepted

4 votes
Answer accepted
Trudy Claspill
Community Champion
July 1, 2025

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.

Screenshot 2025-07-01 at 2.29.38 PM.png

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.

brian_kurzius
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 1, 2025

Works great - thank you Trudy!

Like Trudy Claspill likes this
1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2025

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

brian_kurzius
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 1, 2025

thanks Bill - the answer from Trudy was a bit easier to follow since i'm pretty new to automations :-)

Suggest an answer

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

Atlassian Community Events