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

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • 6.2.7, 6.3.12, 6.4.11, 7.2.8, 7.3.1, 7.5.0, 7.7.0, 7.9.2, 8.3.1, 8.14.1, 8.13.7, 8.20.2, 9.4.2
    • JQL

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: