Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-27647

Please Fix documentation regarding escaping special characters in JQL

XMLWordPrintable

      The documentation found here: EscapingSpecialCharacters is incorrect in that this following bug ticket exists showing that it in fact does not work https://jira.atlassian.com/browse/JRA-25092.

      In the example, performing a JQL search like this, will result in the following error:
      JQL:

      Summary ~ "foo\[bar\]"
      

      Error:

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

      The list in the documentation says we can escape the following:

      + - && || ! ( ) { } [ ] ^ ~ * ? \
      

      But the error message says that we only support this list:

      The valid escape sequences are \', \", \t, \n, \r, \\, '\ ' and \uXXXX
      

      Please amend the inconsistencies.

            ggaskell Giles Gaskell [Atlassian]
            mandreacchio Michael Andreacchio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: