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

JQL "is EMPTY" doesn't work for Text Field that was cleared

    XMLWordPrintable

    Details

      Description

      Issue Summary

      Once you set a value for a Text Field multi-line (custom or default of Jira) like the description and remove that, Jira's JQL will not recognize that field as EMPTY anymore.

      Also, the Jira expression would return "true" for text validation even if the field is Empty.

      Steps to Reproduce

      1. Create an issue (Classic or Next-gen) with the description field empty
      2. Search it using JQL (this will work ):
        • issuekey="EXAMPLE-1" and description is EMPTY
          
      3. Set something on the description field and save it
      4. Remove the text from it and run the same JQL again (will not bring that issue anymore )

      Expected Results

      The field should be considered as empty again since no information is set.

      This is how the field is shown on Jira (REST API) if the issue was created without any value on it.

      Actual Results

      The JQL doesn't recognize that field as

      This is how the field is shown on Jira (REST API) if some value was set and unset from it.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              clawrence@atlassian.com Craig Lawrence
              Reporter:
              976c02b75079 Celso J (Inactive)
              Votes:
              41 Vote for this issue
              Watchers:
              62 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: