Forums

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

Filtering with JQL ansd special characters

hartmut.giehl
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 30, 2025

I'm setting up a search regarding the SUMMERY of an issue. And the big thing is that the summary of out issues often contains special character, for Axample the Summary is lime "1045_Alice_User_Access-ADD" and "1046_Alice_User_Access-Delete" ans some more.

every time i'm using "_" or "-" as a part of the search string the search does not give result, i guess its cause "_","-" are special characters in JQL. As far as good, but unfortunately marking this like "Alice\\_" or "\"Alice_\"" does not work.

 

2 answers

0 votes
Hannes Obweger - JXL for Jira
Atlassian Partner
February 2, 2025

Hi @hartmut.giehl,

welcome to the community!

I assume that this is related to how Jira does its internal indexing for full text JQL searches; unfortunately, this sometimes leads to unexpected results when searching for terms within longer sequences of characters.

This being said, if you're open to solutions from the Atlassian Marketplace, you'll find several apps that either extend JQL by additional functions, or provide their own, more powerful search mechanisms.

E.g., your use case would be trivial to solve using the app that my team and I are working on: JXL for Jira.

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you’d do in e.g. Excel or Google Sheets. One of the filtering options that is available for all fields is text filtering, which performs a partial match by default.

This is how it looks in action:

text-filtering.gif

For more advanced use cases, you can also use logical operators (AND, OR, NOT) as well as regular expressions.

I should also add that JXL can do much more than the above: From support for configurable issue hierarchies, to issue grouping by any issue field(s), sum-ups, or conditional formatting.

Any questions just let me know,

Best,

Hannes

0 votes
Kawan Diogo
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.
January 30, 2025

Hi @hartmut.giehl Welcome to the community.


To search for summaries with special characters like underscores (_) and hyphens (-), use double quotes to enclose the exact phrase. For example:

Exact Match Search

summary ~ "\"1045_Alice_User_Access-ADD\""

 

Wildcard Search:

summary ~ "*Alice_User_Access*"

 

These approaches help handle special characters in JQL.

 

Please let me know if this helps you.

Best Regards

hartmut.giehl
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 31, 2025

Thanks for your quick answer,

 

the exact match works! 

But your proposal for wildcard search does not work. this alway returns an empty result quantity.

Suggest an answer

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

Atlassian Community Events