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

Advance Search for String that Contain Hyphen Returns Result

      When using Advance Searching, searching for a string that had hyphen in between return result. Expected no result is returned since it is not a complete string (whole word)

      Quote from the documentation for text searching:

      Whole words only

      JIRA cannot search for issues containing parts of words but on whole words only. The exception to this are words which are stemmed.

      This limitation can also be overcome using fuzzy searches.

      Steps to replicate:

      1. Create an issue test-test on summary
      2. Search for "summary ~ test" returned the result test-test created earlier (Not expected)
      3. Create another issue test-test123 on summary
      4. Search for "summary ~ test123" returned no result (Expected)

            [JRASERVER-33306] Advance Search for String that Contain Hyphen Returns Result

            Bugfix Automation Bot made changes -
            Minimum Version New: 5.02
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2841519 ] New: JAC Bug Workflow v3 [ 2917300 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2573128 ] New: JAC Bug Workflow v2 [ 2841519 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1537081 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2573128 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: ho-jql-backend New: affects-server ho-jql-backend
            Hannes Obweger (Inactive) made changes -
            Component/s New: Issue Navigation & Search - JQL [ 43398 ]
            Component/s Original: JQL [Deprecated] [ 12922 ]
            Labels New: ho-jql-backend
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 663586 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1537081 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v5 [ 653331 ] New: JIRA Bug Workflow w Kanban v6 [ 663586 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v5 [ 533816 ] New: JIRA Bug Workflow w Kanban v6 [ 653331 ]
            Eric Dalgliesh made changes -
            Resolution New: Won't Fix [ 2 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]

              Unassigned Unassigned
              rgee Richie Gee (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: