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

Text Search Doesn't Work while Searching for Summary and Description

      Customers Ask:

      Hi,

      I often use Jira advanced search to find issues, some of which were created quite some time ago, so I don't fully remember their summary. I only remember some words that might occur in any text fields, in summary or in description. And today I realized that Jira has a defect in text search, which makes it significantly harder to find an old issue. (I've set impact to Level 3 because this is a use case which I do really often, and sometimes I have to spend more time searching for issues than I would expect to spend using a good search engine). Below is a description of a defect:

      Imagine there is an issue with the word "A" in summary and word "B" in description (word "A" doesn't occur in description and word "B" doesn't occur in summary). But the following advanced search query doesn't return me anything:

      text ~ "A B"

      however the documentation says that "text" field is a "master-field" that allows you to search all text fields including summary and description. I find this behaviour to be poor because I really expect "text" field to search across all text fields.

      After some investigations and experiments I came to conclusion that Jira probably find only those tickets where both words "A" and "B" occur in the same text field, so it will find only tickets where both "A" anb "B" occur in summary or in description. Then I tried to find a workaround for this behaviour: I tried another advanced search query:

      text ~ "A" and text ~ "B"

      but this query gave me nothing again. And this looks really like a bug, because when I issue any of these subqueries separately Jira gives me my ticket as a result. I mean, query {{text ~ "A"}} shows me my ticket in search results, and query {{text ~ "B"}} shows me my ticket in results. So if my ticket satisfies both {{text ~ "A"}} and {{text ~ "B"}}, then I don't understand why it doesn't satisfy {{text ~ "A" and text ~ "B"}}?

      It looks like the only way to find my ticket by two words is to manually enumerate all possible combinations of text fields issuing multiple queries like:

      summary ~ "A" and description ~ "B"

      I hope you will be able to fix these problem, so that:
      - "text" master field will actually use *all* text fields for searching,
      - and that if issue satisfies both {{text ~ "A"}} and {{text ~ "B"}} then it will be found by {{text ~ "A" and text ~ "B"}} (and by {{text ~ "A B"}}) too.

            [JRACLOUD-68159] Text Search Doesn't Work while Searching for Summary and Description

            I recently discovered the same problem - that text search with multiple words only finds issues where those words appear in a single field - e.g. a comment, or the description; not a single word in a comment with another word in the description.

             

            I hope you will be able to fix these problem, so that:

            • "text" master field will actually use all text fields for searching,
            • and that if issue satisfies both text ~ "A" and text ~ "B" then it will be found by text ~ "A" and text ~ "B" (and by text ~ "A B") too.

            The first issue appears to have been fixed - all text fields are used for searching when using text.

            Atlassian support have raised two tickets for the second issue. See
            JRACLOUD-80641 - Change basic and quick search to find issues where multiple words appear in different text fields on an issue; and
            JRACLOUD-80616 - Add a new JQL operator for text which can search multiple words that appear in different text fields in an issue

            Hugh Gibson added a comment - I recently discovered the same problem - that text search with multiple words only finds issues where those words appear in a single field - e.g. a comment, or the description; not a single word in a comment with another word in the description.   I hope you will be able to fix these problem, so that: "text" master field will actually use all text fields for searching, and that if issue satisfies both text ~ "A" and text ~ "B" then it will be found by text ~ "A" and text ~ "B" (and by text ~ "A B" ) too. The first issue appears to have been fixed - all text fields are used for searching when using text. Atlassian support have raised two tickets for the second issue. See JRACLOUD-80641 - Change basic and quick search to find issues where multiple words appear in different text fields on an issue; and JRACLOUD-80616 - Add a new JQL operator for text which can search multiple words that appear in different text fields in an issue

            Dylan added a comment -

            Hi all, we're closing this issue because there have been no reports of it re-occurring in the last 12 months. Please feel free to comment or contact support if this is still impacting you and we will be happy to re-open and assess.

            Cheers,
            Atlassian Support

            Dylan added a comment - Hi all, we're closing this issue because there have been no reports of it re-occurring in the last 12 months. Please feel free to comment or contact support if this is still impacting you and we will be happy to re-open and assess. Cheers, Atlassian Support

              Unassigned Unassigned
              gsenna Gabriel Senna
              Affected customers:
              0 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: