-
Bug
-
Resolution: Fixed
-
Medium
-
4.0, 4.1.2, 4.4 - EAP, 5.2.5, 5.2.11, 6.1, 6.1.4, 6.3
-
EACJ v4.4-rc2#647-r156775
-
4
-
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
If you attempt to search JIRA issues for special characters (in text fields), using properly escaped special character syntax (see our documentation on Escaping Special Characters when performing text searches for details), no results are retrieved, even when JIRA issues containing these characters (in the relevant text fields) actually do exist.
It seems this problem is a bug (and that this functionality should exist in JIRA) because when you attempt to perform a Simple or Quick search like:
\[
and you switch to Advanced search, this search term gets resolved to the properly escaped JQL syntax:
summary ~ "\\[" OR description ~ "\\[" OR comment ~ "\\["
Further to this it's been found that not only escaping [ does not work, but other characters don't escape correctly.
We tested the following special characters in our documentation only to find that most of them do not work:
one+ two- three& four| five! six( seven) eight{ nine} ten[ eleven] twelve^ thirteen~ fifteen* sixteen? seventeen\
Doing special character searches have the following problems with escaping:
summary ~ "one\\+" (works) summary ~ "two\\-" (works) summary ~ "three\\&" (works) summary ~ "four\\|" (works) summary ~ "five\\!" (doesn't work) summary ~ "six\\(" (doesn't work) summary ~ "seven\\)" (doesn't work) summary ~ "eight\\{" (doesn't work) summary ~ "nine\\}" (doesn't work) summary ~ "ten\\[" (doesn't work) summary ~ "eleven\\]" (doesn't work) summary ~ "twelve\\^" (doesn't work) summary ~ "thirteen\\~" (works) summary ~ "fifteen\\*" (works) summary ~ "sixteen\\?" (doesn't work) summary ~ "seventeen\u005C" (doesn't work) (special case where \\\ does not work either)
- blocks
-
JRASERVER-40790 Searching for JIRA issues containing special characters (in text fields)
- Closed
- causes
-
JRASERVER-27647 Please Fix documentation regarding escaping special characters in JQL
- Closed
- has a regression in
-
JRASERVER-66244 As a Jira user, I want to be able to run a JQL search with special characters
- Gathering Interest
- is duplicated by
-
JRASERVER-25516 When escaping "[" in jql search for the summary field, query does not return correct results
- Closed
-
JRASERVER-23235 Escaping special character in simple and advanced search doesn't work
- Closed
-
JRASERVER-39595 Unable to search for text containig a Exclamation mark
- Closed
- is related to
-
JRASERVER-45241 Escaping special characters doesn't work correctly in issue search
- Closed
-
JRASERVER-43990 Searching JIRA issues for special characters (in text fields) does not work, even if these characters have been properly escaped in a quick, simple or advanced (i.e. JQL) search.
- Closed
-
JRASERVER-27702 Searching for JIRA issues containing special characters (in text fields), using escaped special character syntax for JAVA SOURCE does not work
- Gathering Impact
- relates to
-
JRACLOUD-25092 Searching JIRA issues for special characters (in text fields) does not work, even if these characters have been properly escaped in a quick, simple or advanced (i.e. JQL) search.
- Closed
-
JRASERVER-10395 Cannot search for non-alphanumeric strings like ">="
- Closed
-
JRASERVER-25516 When escaping "[" in jql search for the summary field, query does not return correct results
- Closed
-
JRASERVER-26266 JQL search unable to parse ":"
- Closed
-
JRASERVER-32110 Update documentation regarding escaping special characters in JQL
- Closed
-
JRASERVER-62859 Escaping special characters in JQL search doesn't work
- Gathering Interest