Automation If-Else block is not passing even though field conditions are met for the ticket

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

Automation If-Else block is not passing even though field conditions are met for the ticket.

Environment

  • Jira Cloud
  • Automation for Jira Cloud

Diagnosis

The automation rule will execute, but may say that no conditions were met:

While the ticket does have the required condition value:

Verify the letter case of the expected value on the field condition within the automation rule:

You will see that it is different from the ticket and actual component name, verify the current field value for the system or custom field:

Cause

The original system or custom field value was changed after it was added to the condition. When values are added to automation rule conditions, they become simple strings and the condition needs an exact match.

So this can happen if the value was completely changed, or just the letter case was changed.

Solution

Remove and re-add the field value to the condition.

Last modified on Jun 11, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.