Forums

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

Filter for summary with reserved character

Daniel Hernández October 26, 2021

Hi there! I am trying to create a filter for my board. My intention is filter with the title of the task (summary). Our tasks always have a nomenclature like this: [SEO-.......] Text. Important: no spaces between special characters at the beginning. 

I am trying to filter in some ways with no result. I know problem is that there are no spaces between the "[" symbol, the following acronym (SEO) and dash symbol. I don't know how to indicate a search type "[SEO-anything behind"

Thank you very much for your time

2 answers

1 accepted

1 vote
Answer accepted
Antoine Berry
Community Champion
October 27, 2021

Hi @Daniel Hernández ,

Unfortunately I do not have access to a cloud instance, but if we look at the documentation, the jql request would be : 

summary ~ "[SEO-*"

But the characters [ and - might be considered as special and thus need to be escaped : 

summary ~"\\[SEO\\-*"

But this does not work on my server instance. There is a documented bug, but again I cannot check on a cloud instance, so you need to try it on your end.

Daniel Hernández October 27, 2021

Thank you very much for your time.

summary ~"\\[SEO\\*" almost working, but this filter shows also SEO word in title without [ symbol placed right at the beginning, so I'm watching more issues than I want.  But is a good start :)

Daniel Hernández October 27, 2021

maybe the problem still being the bug you told  

Like Antoine Berry likes this
Antoine Berry
Community Champion
October 27, 2021

According to the comments on the bug and yours, it seems that the bug is still around then.

If you have the ScriptRunner app, you could try this (I found it in the comments as well) : 

issueFunction IN issueFieldMatch("project = JRA ORDER BY Rank ASC", "summary", "\\[SEO\\-")

It does actually work on my instance.

Like Daniel Hernández likes this
Daniel Hernández October 27, 2021

Thank you! I think I am not going to get permission to work with this plugin. However, I hope they can fix it. Maybe I should open a new ticket

0 votes
Daniel Turczanski - JQL Search Extensions
Atlassian Partner
November 3, 2021

Hi @Daniel Hernández

Standard JQL doesn't easily allow searching for exact words, special phrases and patterns.

To get the wildcard support, use our professional indexing service JQL Search Extensions

After you install the app, you can simply search:

issue in wildcardMatch("summary", "[SEO-*]")

Check out the documentation for more examples.

I hope this helps!

Daniel

Suggest an answer

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

Atlassian Community Events