Search query doesn't distinguish between a space and an underscore

XMLWordPrintable

    • 18
    • Severity 3 - Minor
    • 1

      Summary

      • Jira seems to treat the underscore character to be identical to a space character.
      • Search query for exact phrases using underscore return results as the same phrase using a space, for example:
        • Searching for text ~ "\"END_OF\"" returns: "End of" instead of the exact "End_of" (Jira is considering underscore as a regular space character);
      • This behavior is true for sentences with multiple underscores as well

      Steps to Reproduce

      1. Navigate to Jira Advanced issue search (e.g. on GSAC);
      2. Search for any phrase containing an Underscore (e.g. text ~ "\"END_OF\"");
      3. Displayed results will include phrases with space between words instead of underscore (e.g. "End Of" instead of "End_of");
        • Tried the syntax variation: text ~ "\"END\\_OF\"", just to be sure that Jira would not consider underscore as a reserved character;

      Expected Results

      • Search results for exact phrase syntax should return the exact term searched (even if it includes an underscore);

      Actual Results

      • Jira is treating underscore the same as a space character, returning search results that use a space instead of an underscore between words, when using the "exact phrase" syntax.

            Assignee:
            Unassigned
            Reporter:
            Helton A. (Inactive)
            Votes:
            29 Vote for this issue
            Watchers:
            23 Start watching this issue

              Created:
              Updated:
              Resolved: