Forums

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

can not query reserved character:square bracket [ ] in summary in jira 4.4.1

fabby
Contributor
May 20, 2012

for example i have for jira issue with summary like follows,

amoi4.0
[amoi4.0]support
amoi4.0- fewat
[amoi4.0] not

1 and i can use summary ~ "amoi4.0" to search out the above four issues,

2 but use summary ~ "amoi4.0\\]" ,there is no result.

3 or use summary ~ "amoi4.0\]" ,it will say

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

why ?

2 answers

1 accepted

1 vote
Answer accepted
Thomas Schlegel
Community Champion
May 20, 2012
fabby
Contributor
May 20, 2012

hi,Thomas-S

you mean summary ~ "\\[" doesn't work because of JIRA's bug ?

and we have no resolution now?

Thomas Schlegel
Community Champion
May 20, 2012

seems so :-(

fabby
Contributor
May 20, 2012

hi,Thomas-S

i met another problem,i can not use number in query (summary ~ "4.0") using one of my jira server A,the query result is empty.

but on another jira server B i can search out issues with summary contains "4.0".

i don't know what's wrong with the jira server A.

all my jira server version is 4.4.1

Thomas Schlegel
Community Champion
May 20, 2012

Are you sure there are issues with a summary "4.0" ?

Try do do the search with the simple search. Do you get some results with that ?

fabby
Contributor
May 20, 2012

yes,i create one issue with summary “4.0”

and do the search summary ~ "4.0"

but query with no results.

i am wondering if i have installed some plugins that make jql something error

Thomas Schlegel
Community Champion
May 20, 2012

and did you try the simple search ??

fabby
Contributor
May 20, 2012

yes,in simple search tab,set "Query“ to 4.0 gets no result.

Thomas Schlegel
Community Champion
May 20, 2012

maybe you could try reindexing your issues via admin console

fabby
Contributor
May 20, 2012

i tried reindex ,but with no good luck.

i created another issue with summary “43265”,and summary ~ "43265" query returns no result too.

Thomas Schlegel
Community Champion
May 20, 2012

Hello all, has anyone else another idea ? If not, I think you have to ask then official Jira Support.

fabby
Contributor
May 21, 2012

i resolve it ,set indexing language to Englist ,and do a re-index will solve the problem

0 votes
Criztov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 27, 2021

Have you tried using this trick?

issueFunction in issueFieldMatch("project=ABC", "summary", "\\[BA\\]")

Originally posted by: @Mash Huang 
https://community.atlassian.com/t5/Jira-questions/How-can-I-search-for-exact-text-in-square-brackets/qaq-p/395566

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events