Can't manage to filter with JQL with a text that contains "-"

Anna December 3, 2020

It seems I can't make a JQL query where I search text like "DE - "

 

Any workaround  ?

4 answers

0 votes
Marianne Miller
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.
December 7, 2020

I had to do a little digging on this, but try using \\ (double back slash) before the hyphen

"DE \\-"

0 votes
Anna December 7, 2020

Hello

Thanks for your answer but I keep getting the same error message

"Unable to parse the text 'DE -' for field 'summary'"

or

"Unable to parse the text 'DE - ' for field 'text'."

0 votes
Marianne Miller
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.
December 3, 2020

you can also use the tilde to search text across fields

text ~ "DE - "

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 3, 2020

Hi Anna,

Try something like this:

project = ABC and summary ~"DE-"

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 7, 2020

Can you share your exact query? I had no problem executing this one. 

Suggest an answer

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

Atlassian Community Events