Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-75866

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

    XMLWordPrintable

Details

    • 315
    • 69
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      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 (":") and for dash ("-")

      Workaround

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gfonyo@atlassian.com Gabor F. (Inactive)
              Votes:
              141 Vote for this issue
              Watchers:
              112 Start watching this issue

              Dates

                Created:
                Updated: