-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Work Item - Search - Backend - JSIS
-
3
-
Severity 3 - Minor
-
1
-
Warranty
Issue Summary
The Lookup Issues Action doesn't bring results when a Hyphen (-) is present in the JQL search.
This happens also for the Description Field, no other special characters seem affected.
Steps to Reproduce (replicated)
- Create an Issue with a Hyphen in the Summary i.e. Epic, Text 1 - Text 2
- Search for for the issue using JQL
summary ~ "Text 1 - Text 2"
OR search using
text ~ "Text 1 - Text 2"
- NOTE: there is a difference in the output depending on whitespacing. Example "test - test" and "test-test" will yield different results
Steps to Reproduce (original)
- Create an Issue with a Hyphen in the Summary i.e. Epic, Text 1 - Text 2
- Create an Automation rule
- Add the Lookup Issues Action
- Use a JQL similar to:
type = Epic AND summary ~ "Text 1 - Text 2"
- Try searching for the Issue created.
Expected Results
The created Issue is found & brought to the rule.
Actual Results
The Automation tool doesn't find the Issue.
When selecting the Validate query option, zero Issues are found, but when selecting the link to the search, the Issue appears.
Workaround
Currently, the workaround is to use the exact search format:
type = Epic AND summary ~ "\"Text 1 - Text 2\""