Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Search text inside square bracket

Edited

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)

4 answers

1 accepted

0 votes
Answer accepted
Alexander Pappert
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.
Nov 03, 2020

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)`

Alexander Pappert
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.
Nov 03, 2020 • edited

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

~ BE]*

Alexander Pappert
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.
Nov 03, 2020

or like this:

https://confluence.atlassian.com/jirasoftwareserver/search-syntax-for-text-fields-939938747.html 

 

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

    text ~ "\"Jira Software\""
Like Rylan Maschak likes this

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

https://jira.atlassian.com/browse/JRASERVER-25092

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

Alexander Pappert
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.
Nov 03, 2020

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
to
BE

You could then use the JQL search

I did something similar with JMCF https://marketplace.atlassian.com/apps/27136/jira-misc-custom-fields-jmcf?hosting=server&tab=overview 

Thank you, I'll look into it.

Like Alexander Pappert likes this
Like Steve Muskiewicz likes this

For me, it worked like this :

summary ~ "\\[RRR\\]"

This one worked for me. All other variations above did not. This is in the "Board Settings" area where I was trying to get some JQL based quick filters created. Example: summary ~ "\\[DRAFT\\]" (But according to the search info above and the results I am seeing, this is really just the same as summary ~ DRAFT because the special characters are not indexed... Sigh.

so it looks like it is summary ~ RRR,
so... it does not work as expected...
It's a pitty

Like # people like this

You're right Andrzej, it does not work as expected. There is no solution... :-( 

when will these Bug fixed?

 

Would be nice if any escape sequence would work...

this works for us, to find [FE]:

summary ~ "\"[FE]\""

i think, \"[FE]\" returns all results with FE and not only [FE]

Like Lisa Ballard likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events