Forums

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

I'd like to filter out all tickets with summary line start with [API] (square brackets included).

Mani Chaitanya
Contributor
September 2, 2024

 

 

project details = XXXXX

Would you please help with a JQL? 

 

 

 

Thank you!

3 answers

1 accepted

2 votes
Answer accepted
Mani Chaitanya
Contributor
September 2, 2024

This worked for me issueFunction in issueFieldMatch("project = XXXX", "summary", "\\[API\\]")

Kishan Sharma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 2, 2024

This is the best option if you have Scriptrunner installed. 👍

Like Mani Chaitanya likes this
2 votes
Kishan Sharma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 2, 2024

Hi @Mani Chaitanya 

Since your summary field contains square brackets, you should escape the square brackets with a backslash (\). Here's how you can structure your JQL query:

summary ~ "\\[API\\]"

Hope this helps.

1 vote
Mani Chaitanya
Contributor
September 2, 2024

summary ~ "\\[API\\]" is giving all data with [API] (square brackets included & excuded.)

Suggest an answer

Log in or Sign up to answer