Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL Text Serach Colon Mean

재웅 최 August 19, 2020

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?

1 answer

1 accepted

0 votes
Answer accepted
Kirkie
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 19, 2020

Special characters

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

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.

재웅 최 August 20, 2020

thank you

Suggest an answer

Log in or Sign up to answer