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

Searching for an exact string using JQL with \" is not working

      Summary

      If you try to use JQL to search for issues with exact string using \", for example: "\" exact string \"", it should only find issues matching the whole expression, but it is finding issues containing the separate words.

      Steps to Reproduce

      1. Go to the 'Search Issues' screen.
      2. Try searching for issues with an exact string using \", as the example below:

      text ~ "\"this is an example\""
      

      Expected Results

      You will find all the issues that contain the exact string (whole expression) 'this is an example'.

      Actual Results

      All issues that contain all the separate words.

      Workaround

      It doesn't have a workaround.

            [JRACLOUD-71372] Searching for an exact string using JQL with \" is not working

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 3083182 ] New: JAC Bug Workflow v3 [ 3360922 ]
            Kamil Grinholc made changes -
            Resolution New: Duplicate [ 3 ]
            Status Original: Open [ 1 ] New: Closed [ 6 ]
            Kamil Grinholc made changes -
            Link New: This issue duplicates JRACLOUD-69263 [ JRACLOUD-69263 ]
            SET Analytics Bot made changes -
            Support reference count New: 2
            DBT (Inactive) made changes -
            Component/s New: Search - Backend [ 54491 ]
            Component/s Original: Search [ 53297 ]
            Carlos Ughini made changes -
            Description Original: h3. Summary
            If you try to use JQL to search for issues with exact string using \", *for example: "\" exact string \""*, should only find issues matching the whole expression, but it is finding issues containing the separate words.

            h3. Steps to Reproduce

            1. Go to the 'Search Issues' screen.
            2. Try searching for issues with an exact string using \", as the example below:
            {code:java}
            text ~ "\"this is an example\""
            {code}

            h3. Expected Results
            You will find all the issues that contain the exact string (whole expression) 'this is an example'.

            h3. Actual Results
            All issues that contain all the separate words.

            h3. Workaround
            It doesn't have a workaround.
            New: h3. Summary
            If you try to use JQL to search for issues with exact string using \", *for example: "\" exact string \""*, it should only find issues matching the whole expression, but it is finding issues containing the separate words.

            h3. Steps to Reproduce

            1. Go to the 'Search Issues' screen.
            2. Try searching for issues with an exact string using \", as the example below:
            {code:java}
            text ~ "\"this is an example\""
            {code}

            h3. Expected Results
            You will find all the issues that contain the exact string (whole expression) 'this is an example'.

            h3. Actual Results
            All issues that contain all the separate words.

            h3. Workaround
            It doesn't have a workaround.
            Carlos Ughini made changes -
            Description Original: h3. Summary
            If you try to use JQL to search for issues with exact string using \", *for example: "\" exact string \""*, it won't work.

            h3. Steps to Reproduce

            1. Go to the 'Search Issues' screen.
            2. Try searching for issues with an exact string using \", as the example below:
            {code:java}
            text ~ "\"this is an example\""
            {code}

            h3. Expected Results
            You will find all the issues that contain the exact string 'this is an example'.

            h3. Actual Results
            All issues that contain the words 'this', 'is', 'an' and 'example'.

            h3. Workaround
            It doesn't have a workaround.
            New: h3. Summary
            If you try to use JQL to search for issues with exact string using \", *for example: "\" exact string \""*, should only find issues matching the whole expression, but it is finding issues containing the separate words.

            h3. Steps to Reproduce

            1. Go to the 'Search Issues' screen.
            2. Try searching for issues with an exact string using \", as the example below:
            {code:java}
            text ~ "\"this is an example\""
            {code}

            h3. Expected Results
            You will find all the issues that contain the exact string (whole expression) 'this is an example'.

            h3. Actual Results
            All issues that contain all the separate words.

            h3. Workaround
            It doesn't have a workaround.
            Carlos Ughini made changes -
            Description Original: h3. Summary
            If you try to use JQL to search for issues with exact string using \", *for example: "\" exact string \""*, it won't work.

            h3. Steps to Reproduce

            1. Go to the 'Search Issues' screen.
            2. Try searching for issues with an exact string using \", as the example below:
            {code:java}
            text ~ "\"exact string\""
            {code}

            h3. Expected Results
            You will find all the issues that contains the
            New: h3. Summary
            If you try to use JQL to search for issues with exact string using \", *for example: "\" exact string \""*, it won't work.

            h3. Steps to Reproduce

            1. Go to the 'Search Issues' screen.
            2. Try searching for issues with an exact string using \", as the example below:
            {code:java}
            text ~ "\"this is an example\""
            {code}

            h3. Expected Results
            You will find all the issues that contain the exact string 'this is an example'.

            h3. Actual Results
            All issues that contain the words 'this', 'is', 'an' and 'example'.

            h3. Workaround
            It doesn't have a workaround.
            Carlos Ughini made changes -
            Description Original: h3. Summary
            If you try to use JQL to search for issues with exact string using \", *for example: "\" exact string \""*, it won't work.
            New: h3. Summary
            If you try to use JQL to search for issues with exact string using \", *for example: "\" exact string \""*, it won't work.

            h3. Steps to Reproduce

            1. Go to the 'Search Issues' screen.
            2. Try searching for issues with an exact string using \", as the example below:
            {code:java}
            text ~ "\"exact string\""
            {code}

            h3. Expected Results
            You will find all the issues that contains the
            Carlos Ughini made changes -
            Description Original: h3. Summary
            If you try to use JQL to search for issues with exact string using \", for example: "\" exact string \"", it won't work.
            New: h3. Summary
            If you try to use JQL to search for issues with exact string using \", *for example: "\" exact string \""*, it won't work.

              Unassigned Unassigned
              chughini Carlos Ughini
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: