Lookup Issues doesn't bring results when a Hyphen is present

XMLWordPrintable

    • 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)

      1. Create an Issue with a Hyphen in the Summary i.e. Epic, Text 1 - Text 2
      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) 

      1. Create an Issue with a Hyphen in the Summary i.e. Epic, Text 1 - Text 2
      2. Create an Automation rule 
      3. Add the Lookup Issues Action 
      4. Use a JQL similar to:
      type = Epic AND summary ~ "Text 1 - Text 2" 
      1. 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\""

            Assignee:
            Unassigned
            Reporter:
            Omar Vargas
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: