Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-81533

When viewing an active workflow transition's conditions a blank value and the string "null" appear identically in UI

XMLWordPrintable

      Issue Summary

      When creating a workflow transition condition that checks a field's value, the string 'null' and a blank field are represented identically in the UI.

      Steps to Reproduce

      1. In a company-managed project's workflow add a condition to a transition
      2. Select "Value field" (Allows to execute a transition if the given value of a field is equal to a constant value, or simply set.)
      3. Select any Field and leave the Value field blank and save:
      4. Create another condition select any Field and this time type the text NULL into the Value field and save:
      5. Observe that these two conditions appear identically in the UI because for some reason quotation marks are place around the word "NULL" for the one where the field was left blank:

      Notes:

      • This is particularly confusing because you must enter draft mode in order to check how a condition has been set up (i.e. to see that the string 'NULL' was incorrectly typed in)
      • There are instructions in the UI that say "You may leave value empty and choose comparison type '!=', to tell that a given field is required for the condition." It might be good to state "Leave the Value field empty if you are testing for NULL"

      Expected Results

      The string 'null' and a blank field should not be represented identically in the UI.

      Actual Results

      The string 'null' and a blank field are represented identically in the UI.

      Workaround

      You can export the XML to see the difference

              Unassigned Unassigned
              23ef3e30d63c Anusha Rutnam (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: