IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-75866

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

    • 277
    • 111
    • 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.

      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

            Loading...
            IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
            Uploaded image for project: 'Jira Platform Cloud'
            1. Jira Platform Cloud
            2. JRACLOUD-75866

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

              • 277
              • 111
              • 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.

                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

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

                          Created:
                          Updated:

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

                              Created:
                              Updated: