Single-line text custom fields will show in search if value is set to Null

XMLWordPrintable

    • 6
    • Severity 3 - Minor

      Summary

      When working with the single line text field, you can easily perform a search agains the issue. However the issue will populate in JQL searches for whatever data the field contained prior to being re-set to EMPTY.
      JQL will still filter the issue by the "IS EMPTY" JQL search criterion, however it does show up in a search if it matched previously.

      Environment

      Cloud

      Steps to Reproduce

      • Create a single-line text custom field.
      • ensure that you can easily modify the field on some issues
      • on a new issue, populate the new field
      • Search using TEXT LIKE operator (~) for what you populated in that field, the issue should show up
      • Remove the content in the field from the issue
      • Search again

      Expected Results

      The search will no longer populate with the issue.

      Actual Results

      The issue will show up in the search results in spite of being Null/EMPTY

      Notes

      none

      Workaround

      Only workaround known is to filter out by adding "AND CUSTOM_FIELD NOT EMPTY" to your JQL search.

        1. Issue example.mov
          8.82 MB
          Jared Long

            Assignee:
            Unassigned
            Reporter:
            Jared Long
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: