Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-61754

Forward slash + wildcard causes JQL incorrect search result

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 6.4.13, 7.1.0
    • JQL

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: