Tasks with square brackest in summary won't show up if searching for the brackets content.

Hi, we marked several tickets with "[ITSM-123...] some text" as title, but when I search for "ITSM" they won't show up.

My search query:

summary ~ "ITSM"

Are square brackets handled specially? How may I search for the text inside of them?

1 answer

1 accepted

1 vote
Accepted answer

Well two things to mention. First you can't search for text within a phrase like ~"bcd" in "abcd"

Secondly there are special characters that needs escaping like "["

So you can try:

summary ~ "\\[ITSM*"

Thanks, I didn't noticed that I need to use an *. But escaping doesn't work.

With summary ~ "\\[ITSM*" it says "The text query '\[ITSM*' for field 'summary' is not valid: probably your range query is incorrect.".

With summary ~ "\[ITSM*" it says (translated to english) "error in JQL-query: '\[' is an illegale JQL escapesequence. Valid escapesequences are \', \", \t, \n, \r, \\, '\ ' and \uXXXX."

Ok, I noticed there is a bug in advanced search: https://jira.atlassian.com/browse/JRA-25092So I'll stick to searching without square brackets.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

906 views 3 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you