Searching JIRA issues for special characters (in text fields) does not work

XMLWordPrintable

    • 250
    • 158

      Issue Summary

      In Use advanced search with Jira Query Language (JQL) document it is mentioned that

      JQL has a list of reserved characters:
      space (" ") + . , ; ? | * / % ^ $ # @ [ ]
      If you wish to use these characters in queries, you need to:
      surround them with quote-marks (you can use either single quote-marks (') or double quote-marks (")); and, if you are searching a text field and the character is on the list of reserved characters for text searches, precede them with two backslashes.

      However, escaping “[” or “]” does not work. In the old bug ticket JRACLOUD-25092 there are lot more special characters listed, most probably those ones do not work too.

      Steps to Reproduce

      1. Run a JQL query including special characters, for example
        summary ~ "\\[change\\]"

      Expected Results

      Only issues having the text "[change]" in Summary should be displayed.

      Actual Results

      all issues having the word "change" in Summary are listed.

       

      Note:

      • This behavior is also present for colon (":"), for dash ("-"), and for period (".")

      Workaround

            Assignee:
            Unassigned
            Reporter:
            Gabor F. (Inactive)
            Votes:
            220 Vote for this issue
            Watchers:
            180 Start watching this issue

              Created:
              Updated: