Forward slash + wildcard causes JQL incorrect search result

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 6.4.13, 7.1.0
    • Component/s: JQL
    • 6.04
    • 5
    • Severity 3 - Minor
    • 3

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      If you try to search a word which contains a forward slash with a wildcard, Lucene is not able to find that word.

      Steps to Reproduce

      1. Create an issue with description = "RD/EE"
      2. Use the following JQL to search for that issue will work: description ~ "RD/EE"
      3. If now change to use a JQL with a wildcard description ~ "RD/E?" or description ~ "RD/E*", the issue is not found.

      Expected Results

      Issue is in the result set of the JQL description ~ "RD/E?" or description ~ "RD/E*"

      Actual Results

      Issue not found

      Notes

      As suggested in this document I've used double back slash to escape the forward slash, but JQL

      description ~ "RD\\/E?"

      is still not working

      Workaround

      Replace forward slash with a white space seems to work

            Assignee:
            Unassigned
            Reporter:
            Chen Mao (Inactive)
            Votes:
            13 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: