We couldn't load all Actvitity tabs. Refresh the page to try again.
If the problem persists, contact your Jira admin.
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 Data Center'
  1. Jira Data Center
  2. JRASERVER-27702

Searching for JIRA issues containing special characters (in text fields), using escaped special character syntax for JAVA SOURCE does not work

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      When an error escaping in JIRA JQL is made the following error comes up:

      Error in the JQL Query: '\$' is an illegal JQL escape sequence. The valid escape sequences are \', \", \t, \n, \r,
      , '\ ' and \uXXXX. (line 1, character 16)

      The \uXXXX refers to escaping JAVA source, however, it's been found that this does not work.

      There are multiple examples of this, but let's take the special character "\".

      I can create an issue with the summary:

      foo\
      

      Then do a search for it using the JAVA sauce:

      summary ~ "foo\u005C"
      

      JIRA will return the following error:

      Unable to parse the text 'foo\' for field 'summary'.

      This only seems to happen when the special character is at the end of the line.

            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 Data Center'
            1. Jira Data Center
            2. JRASERVER-27702

            Searching for JIRA issues containing special characters (in text fields), using escaped special character syntax for JAVA SOURCE does not work

              • Icon: Bug Bug
              • Resolution: Unresolved
              • Icon: Medium Medium
              • 5.0.1
              • None
              • JQL

                NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

                When an error escaping in JIRA JQL is made the following error comes up:

                Error in the JQL Query: '\$' is an illegal JQL escape sequence. The valid escape sequences are \', \", \t, \n, \r,
                , '\ ' and \uXXXX. (line 1, character 16)

                The \uXXXX refers to escaping JAVA source, however, it's been found that this does not work.

                There are multiple examples of this, but let's take the special character "\".

                I can create an issue with the summary:

                foo\
                

                Then do a search for it using the JAVA sauce:

                summary ~ "foo\u005C"
                

                JIRA will return the following error:

                Unable to parse the text 'foo\' for field 'summary'.

                This only seems to happen when the special character is at the end of the line.

                        Unassigned Unassigned
                        mandreacchio Michael Andreacchio
                        Votes:
                        3 Vote for this issue
                        Watchers:
                        3 Start watching this issue

                          Created:
                          Updated:

                            Unassigned Unassigned
                            mandreacchio Michael Andreacchio
                            Affected customers:
                            3 This affects my team
                            Watchers:
                            3 Start watching this issue

                              Created:
                              Updated: