Hi
I searched for JQL in Jira, and the search text was text ~ "5a:03:02". However, looking at the results, there were many issues that did not contain 5a:03:02. So the analogy seemed to act as a special string ":" in JQL statements. So what does the ":" in the JQL statement do?
+ - & | ! ( ) { } [ ] ^ ~ * ? \ :
Special characters aren’t stored in the index, which means you can’t search for them. The index only keeps text and numbers, so searching for “\\[JIRA Software\\]”
and “JIRA Software”
will have the same effect — escaped special characters ([]
) will be ignored in the search.
You can use special characters to combine two separate terms into a phrase. Adding a special character between the terms, like in “JIRA+Software”
or “JIRA/Software”
will return issues that contain the whole phrase “JIRA Software”.
Specifically when the lucene query parser encounters a : it thinks that you have specified the field to search on on the left and the value on the right.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.