Using the '~' (CONTAINS) operator in a Japanese Lucene JQL search returns issues that include any of the words within the specified phrase or sentence

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 11.2.0, 11.3.3, 11.3.4
    • Component/s: JQL Search
    • None
    • 11.02
    • 1
    • Severity 3 - Minor
    • Warranty

      Issue Summary

      Using the '~' (CONTAINS) operator in a Japanese Lucene JQL search returns issues that include any of the words within the specified phrase or sentence.

      Steps to Reproduce

      1. Ensure Jira is using Lucene as the search platform
      2. Create 4 issues, each with the following summary:
        • 検索
        • したい
        • 文字列
        • 検索したい文字列
      3. Search using Advanced mode: summary ~ "検索したい文字列"
         

      Expected Results

      JQL search returns 1 issue.

      Actual Results

      JQL search returns 4 issues.

      Workaround

      When constructing new JQL queries, add escaped quotes to the search text, for example summary ~ "\"検索したい文字列\""

      Escaped quotes are not automatically added in previously saved JQL queries, which can lead to different search results if Jira has been recently upgraded.

              Assignee:
              Unassigned
              Reporter:
              Chung Park Chan
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: