Contains wildcard does not work for hyphenated strings

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Summary

      As per Search syntax for text fields documentation, a wildcard ( * ) can be used for text searches. When the result strings are hyphenated, the wildcard does not work properly.

      Steps to Reproduce

      Create some issues with the following SUMMARY details

      • AA-BBBBB-FFF
      • AA-BBBBB-DDD
      • AA-BBBBB-CCC
      • AA-BBBBB-CCC-200_ZY-2019

      Use the wildcard on text searches :

      Search JQL Expected Results Actual Results
      summary ~ "AA*" Returns All Returns All
      summary ~ "AA-*" Returns All No results
      Summary ~ "AA-BBBBB*" Returns All No results
      Summary ~ "AA-BBBBB-*" Returns All No results

            Assignee:
            Unassigned
            Reporter:
            Ramon M (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: