Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-1679

Allow case-insensitive values in IF Conditions

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Problem Definition

      Smart Values for conditional logic will return lower-case values - such as true, false and null.

      As of today, it is not possible to use a mix of upper and lower case characters when comparing values.

      This is important as users may want to use different capitalizations when building Automation Rules, but they will not work if not properly capitalized.

      Examples:

      • 'true', 'false', 'null' - Lower-case, works
      • 'True', 'False', 'Null' - First letter capitalized, does not work
      • 'TRUE', 'FALSE', 'NULL' - All letters upper-case, does not work
      • 'TrUe', 'FaLsE', 'NuLl' - Mix-and-match, does not work

      Suggested Solution

      Allow for values to be case-insensitive so that other variations will also work.

      Workaround

      Use lower-case letters if comparing conditional Smart Values, such as Boolean

        1. Screenshot 2025-02-10 at 17.18.49.png
          90 kB
          Thiago P [Atlassian Support]

              Unassigned Unassigned
              tpallaro@atlassian.com Thiago P [Atlassian Support]
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: