-
Bug
-
Resolution: Answered
-
Low
-
None
-
1
-
Severity 3 - Minor
-
Issue Summary
For text-based JQL searches, if "-a" is included at the end of the string, Jira looks at this as a wildcard {*} rather than a string which then gives more results than it should.
Steps to Reproduce
- Create 2 Issues in Jira, one having the Summary as "testing_46565-1-a" and the other as "testing_46565-1-b".
- Do a JQL search on that Summary field for -a (summary ~ "\"testing_46565-1-a\"")
Expected Results
I would expect the results to be all matches with the "testing_46565-1-a" Summary
Actual Results
The results include all Issues with a similar Summary and looks at the "-a" as a wildcard, essentially making the JQL summary ~ "\"testing_46565-1*\"".
Workaround
As a workaround, you can change the Indexing language language in the General settings to "Other" which may be related to the stemming of the word "a".
- is related to
-
JRACLOUD-69172 JQL contains search for a word with hyphen (-) provides incorrect results
- Closed
-
JRACLOUD-72794 Searching for text using quotation marks doesn't return the exact phrase
- Closed
-
JRACLOUD-21372 Allow exact-text searching in JQL
- Closed
-
JRACLOUD-17463 Better exact-text searching
- Gathering Interest