Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-69263

JQL Contains "Exact Phrase" does not return the result as expected

    XMLWordPrintable

Details

    Description

      Status Update 01/02/2023

      Hi everyone,

      As this request is a duplicate of https://jira.atlassian.com/browse/JRACLOUD-21372, I am cross-posting the update here for anyone who is watching this request.

      I am pleased to inform you that JQL exact text search is now already enabled in Jira Cloud and we have completed the roll out.
      Please refer to the other request linked above for more information.

      Thank you for your patience.

      Best,

      Irene Ongkowidjaja

      Status Update 18/11/2021

      The same explanation as for https://jira.atlassian.com/browse/JRACLOUD-21372 

      I am sorry that I've mislead many of you with a previous comment on how fast we will be able to address this issue. 

      Unfortunately I've failed to properly estimate when we could have started investigating this issue due to other more urgent problems. Thus I am moving this issue back to 'Gathering impact' state till we will be able to properly prioritise the 'exact text' issue. 

      There is no clear estimate of when we can start working on this issue. 

      Summary

      • JQL advanced searching using operators reference CONTAINS with "Exact Phrase" does not return expected result. Eg : using “\”new test\”” but it also returns issue that has “next new csv line Test”

      Steps to Reproduce

      1. Create an issue with summary of "new test" then create another issue with summary of "next new csv line Test"
      2. Go to search issue and execute this JQL search
        • summary ~ “\”new test\””

      Expected Results

      • Only issue with summary of "new test"

      Actual Results

      • returns issues that has “next new csv line Test”

      Workaround

      Workaround is being mentioned at this community post here: Solved: How to query Summary for EXACT match?. To elaborate, using this paid add-on: ScriptRunner for Jira would do the trick for now:

      ScriptRunner Enhanced Search

      issueFunction in issueFieldMatch("project = CSCRUM", "summary", "new test")
      

      Jira Issue Navigator

      Search for Multiple Strings in Scriptrunner using regex

      issueFunction in issueFieldMatch("project = CSCRUM", "summary", "new.*|test.*")
      

      Feel free to refer to this add-on documentation here for more information: ScriptRunner Enhanced Search

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aaloysius Augustine Aloysius (Inactive)
              Votes:
              295 Vote for this issue
              Watchers:
              208 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: