Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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 Leader 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 Leader May 20, 2012

seems so :-(

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 Leader 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 ?

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 Leader May 20, 2012

and did you try the simple search ??

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

Thomas Schlegel Community Leader May 20, 2012

maybe you could try reindexing your issues via admin console

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 Leader May 20, 2012

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

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

0 votes

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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you