Forums

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

When an automation rule is triggered when an issue is created, the IF condition is not followed

Tony Chung
Contributor
March 13, 2025

When we create issues, we can choose to keep the default status of Submitted, or change the status to Placeholder. I created an automation rule that says, when an issue is created, if the status is Submitted, transition it to To Do. Somehow this automation rule acts also on issues that are created in Placeholder status.

This seems like a bug to me. Can anyone else offer insight?

1 answer

1 accepted

6 votes
Answer accepted
Trudy Claspill
Community Champion
March 13, 2025

Hello @Tony Chung 

Can you provide a screen image that shows your entire rule?

It is possible that you are encountering a Race condition. What actually happens in Jira when you choose the Placeholder status is that the issue is created in the Submitted status and then automatically changed to the Placeholder status. You can see that in the Issue history (if you disable the rule).

The rule is being triggered by Issue Created, so it is executing before Jira has a chance to transition the issue to Placeholder.

You can use the Refetch Data action in the rule after the trigger to have it refetch the issue data, which may be a long enough delay for the transition to occur.

Or you can use the Delay action followed by a Refetch action in the rule after the trigger to delay the next execution an explicit amount of time to ensure the transition has time to occur before the Condition is evaluated.

Tony Chung
Contributor
March 13, 2025

Hi Trudy, you're absolutely right. Here's the original rule:

image.png

 

I added the Re-fetch issue data and the rule works just as it supposed to!

image.png

 

The audit log shows the extra step, and that's enough time to prevent the transition from kicking in.

image.png

 

Thank you so much for your prompt response! Answer accepted!

Like Trudy Claspill likes this
Trudy Claspill
Community Champion
March 13, 2025

You're welcome!

Suggest an answer

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

Atlassian Community Events