Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-41724

Strange behaviors of Contains ( ~ ) operator when searching for Text blocks

XMLWordPrintable

      Steps to reproduce

      1. Use xyz_abc/d4ef_123_ghi/jkl in any Text field that supports Wiki Style Renderer e.g. Summary, Comment, Description
      2. Run this JQL: text ~ xyz
        ->  FOUND
      3. Run this JQL: text ~ abc
        -> NOT FOUND
      4. Run this JQL: text ~ d4ef
        -> NOT FOUND
      5. Run this JQL: text ~ 123
        -> NOT FOUND
      6. Run this JQL: text ~ ghi
        -> FOUND
      7. Run this JQL: text ~ jkl
        -> FOUND

      It looks like that, searching for a Text block adjacent to (probably the left of) another Text block containing a Number doesn't work, if:

      • they're separated by a Special character e.g. Forward Slash ( / ) or Underscore ( _ ) or Dash (-)
      • the Text block to search contains a number itself

       Behaviors might slightly vary depending on the contents of the Text block or usage of Special characters.

              Unassigned Unassigned
              vdung Andy Nguyen (Inactive)
              Votes:
              63 Vote for this issue
              Watchers:
              62 Start watching this issue

                Created:
                Updated: