Forums

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

Automation on Fix versions

Rahul
Contributor
July 25, 2023

Hello 

We have to automatically update some version in Fix version field based on affects version field.

Example 1: if affects version is v1.1 then fix version should be automatically updated to v1.2

Example 2 : if affects version is v2.1 then fix version should be automatically updated to v2.2

Note: we have two different series of version 

1 answer

0 votes
Ste Wright
Community Champion
July 30, 2023

Hi @Rahul 

How many options can the versions have?

You can probably do this using IF/ELSE statements, but it might be less optimum if there's say hundreds of .N versions.

Ste

Rahul
Contributor
July 30, 2023

@Ste Wright  we have only 4 versions(2 versions with one series and other 2 versions with another series)

Ste Wright
Community Champion
August 3, 2023

Hi @Rahul 

So it should be possible using IF/ELSE via an Automation rule - for example:

  • Trigger: Issue Created
  • Condition: IF Block
    • IF...
      • Condition: Issue Fields Condition
        • Field = Affects versions
        • Condition = equals (in any order)
        • Value = Version 1
      • Action: Edit Issue
        • Field = Fix versions
          • Value = Version 1.1
    • ELSE-IF...
      • Condition: Issue Fields Condition
        • Field = Affects version
        • Condition = equals (in any order)
        • Value = Version 2
      • Action: Edit Issue
        • Field = Fix versions
          • Value = Version 2.1
    • ...etc

---

Let us know if this works!

Ste

Vinutha GR January 19, 2024

Under this the value is a drop down and its not showing the unreleased versions.

  • Field = Affects versions
  • Condition = equals (in any order)
  • Value = Version 1

Suggest an answer

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

Atlassian Community Events