-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 11.2.1, 11.3.6
-
Component/s: JQL Search
-
None
-
11.02
-
3
-
Severity 3 - Minor
-
7
Issue Summary
Using the ~ (CONTAINS) operator in Advanced Search via JQL that includes a hyphen(-) character returns more results than expected.
Steps to Reproduce
- Create Jira issues with the following summary:
- abc-def
- abc
- def
- Search using this JQL
summary ~ "abc-def"
Expected Results
Search result should return 1 issue.
Actual Results
Search result returns 3 results.
Workaround
When constructing new JQL queries, add escaped quotes to the search text, for example:
summary ~ "\"abc-def\""
Escaped quotes are not automatically added in previously saved JQL queries, which can lead to different search results if Jira has been recently upgraded.
- is related to
-
JRASERVER-79387 Using the ~ (CONTAINS) operator in Advanced Search via JQL that includes an underscore _ character returns more results than expected
-
- Closed
-