Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Search text inside square bracket


Most of our tickets is grouped inside square bracket like [BE], [FE], etc.

How can I search subtasks starting with those words? I've tried:

  • text ~ "\\[BE\\]" (empty result)
  • text ~ "\\[BE\\]*" (empty result)
  • text ~ "BE" (empty result)
  • text ~ "BE*" (returns tasks that contains BE* but not tasks with BE inside brackets)

2 answers

1 accepted

0 votes
Answer accepted

is this working?

summary ~ [BE]*

Hi @Alexander Pappert 

Thanks for your answer, but it doesn't work for me. I've tried entering it but got this error:

`Error in JQL Query: Expecting either a value, list or function but got '['. You must surround '[' in quotation marks to use it as a value. (line 1, character 11)`

@fahminlb33  ok, we have to ignore the first [, try

~ BE]*

or like this: 


  • Advanced search: Find all issues that contain the phrase Jira Software.

    text ~ "\"Jira Software\""

Cuplikan layar 2020-11-03 200034.png


Still no luck. The problem is the text I'm looking for is inside square bracket, from several links on Google, I've come to this topic

It seems that up until now we can't search text that surrounded by special characters?

maybe you can use some script addons (JMCF or automation for jira), to copy the summary into another text field and then shorten it from

[BE] abc

You could then use the JQL search

I did something similar with JMCF 

Thank you, I'll look into it.

Like Alexander Pappert likes this
Like Steve Muskiewicz likes this
3 votes

For me, it worked like this :

summary ~ "\\[RRR\\]"

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,097 views 34 44
Read article

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