Searching for numeric strings in Text custom fields won't retrieve issues

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Summary

      While searching for a numeric string, stored in a "Text" (single line or multi-line) custom field, no result will be found if the value isn't parsed between double quotes.

      Steps to Reproduce

      1. Create a single line custom field (e.g. "Text Field") and associate it with a project.
      2. Create an issue and set the text value to a numeric string. E.g. 9999
      3. Go to the issue navigator and perform the following query:
        "Text Field" ~ 9999

      Expected Results

      The recently created issue should be retrieved.

      Actual Results

      JIRA Finds no issues.

      Notes

      This happens only to numeric strings. If an issue has the "Text Field" value as an alphabetical string, JIRA will be able to query for the value without parsing it between double quotes.

      The query below will retrieve the correct results:

      "Text Field" ~ Atlassian

      Workaround

      Parse the numeric string between double quotes:

      "Text Field" ~ "9999"

            Assignee:
            Unassigned
            Reporter:
            Paulo Junior (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: