Forums

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

I want to trigger a Jira Automation rule when a version is released

Vineet_Kotian August 8, 2023

I want to trigger a Jira Automation rule when a version is released:

  1. Branch Rule/related issues
    • Issues fixed in version
  2. If Issue Status is "Current" & field Introduction version is not "Empty"
    • then all issues from step 1 should get transitioned to "Active" status
  3. If Issue Status is != "Current" & field Introduction version is "Empty"
    • then set status = Current and field Introduction version = {{version.name}}
    • and transition all issues to "Active" status

2 answers

1 accepted

0 votes
Answer accepted
Kian Stack Mumo Systems
Community Champion
August 8, 2023

@Vineet_Kotian

 

It seems like you have a pretty good handle on what you want to do. Have you tested this and something isn't working?

 

Thanks,

 

Kian

Vineet_Kotian August 8, 2023

@Kian Stack Mumo Systems I have created the below automation rule. For some reason, this rule doesnt transition all issues from 2) & 3) to "Active" status. Maybe I'm sequencing the conditions incorrectly here?

Rule.png 

Kian Stack Mumo Systems
Community Champion
August 9, 2023

You have to run it inside of two branching statements. The reason for that is because inside the branching does not allow for If/Else statements. So when you run your automation, none of the issues inside of your second set of conditions will ever get run. If the first condition isn't matched, the issue will stop processing. By splitting them yup into two branches you can run each If condition by itself.

 

Screen Shot 2023-08-09 at 10.01.43 AM.png

0 votes
Vineet_Kotian August 9, 2023

Thanks @Kian Stack Mumo Systems. Separating the 2 branching statements worked perfectly well!

Kian Stack Mumo Systems
Community Champion
August 9, 2023

I'm glad to hear it worked for you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events