Forums

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

Trigger automation by issue types change is not working for me

Sia (Nastassia) Sharasheuskaya January 13, 2025

Hello all, I have tried a lot to fix this trigger but it is just not catching issue type changes within the same project. 

Here is what I tried: 

1. Trigger:

 2025-01-13_11h36_44.png

 

 

{{issue.changelog.isssuetype.fromString}} equals Bug

2025-01-13_11h37_47.png

 

 

and then {{issue.changelog.isssuetype.toString}} equals Release Blocker

2025-01-13_11h38_08.png

so all together: 

2025-01-13_11h54_48.png

2. I have also tried:

 

{{fieldChange.fromString}}

 

{{fieldChange.toString}}

3. I have also tried using the Issue Moved trigger with a follow-up check on the new issue type

2025-01-13_11h57_38.png

4. And also tried using the Field change trigger without smart values and just using the final issue type value to check against like in the attempt above (#3)

 

Nothing works. Can anyone help? I need to track the following issue type changes:

Bug to Release Blocker

Bug to Incident

Release Blocker to Incident

Incident to Bug

Release Blocker to Bug

They are all in the same project

3 answers

1 accepted

1 vote
Answer accepted
Rilwan Ahmed
Community Champion
January 13, 2025

Hi @Sia (Nastassia) Sharasheuskaya ,

You need two IF conditions. For Bug to Release Blocker

1. Add smart value condition as below
{{#changelog.issuetype}}{{fromString}} {{/}}
Condition: Contains regular expression
Regular expression:  Bug

2. Issue matches JQL. 
Type = 'Release Blocker'

Your rule will look as below. Here the rule will add comment when issue type changed from Task to Epic.

image.png

Sia (Nastassia) Sharasheuskaya January 13, 2025

Thanks this now works!!!

0 votes
Stephen_Lugton
Community Champion
January 13, 2025

Hi @Sia (Nastassia) Sharasheuskaya 

It looks like you've spelled issuetype wrong in both your IF statements

0 votes
John Funk
Community Champion
January 13, 2025

Hi @Sia,

Can you share the audit log for when you run it? That way we can tell what is getting processed. 

Sia (Nastassia) Sharasheuskaya January 13, 2025

2025-01-13_15h25_17.png

This is the only thing in logs, no errors

Suggest an answer

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

Atlassian Community Events