Forums

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

How do I search for an exact phrase in JQL for the issue description?

Dane Kantner
Contributor
May 10, 2021

Specifically, I am trying to search for description ~ "Severity: High"  (or others such as "Severity: Low") but every JQL I've tried doesn't actually do exact phrase searching but rather it is just searching if SEVERITY and HIGH both exist in the description.

How do I search for an exact phrase in the issue description?

 

I've tried it in quotes and I've tried a few other suggestions, like \"Severity: High" "Severity??High"  ... "Severity:^High"   ...description ~ '"Severity: High"~1'  ...  AND description ~ '"Severity: High"~0'

 

but in all of the above cases if you would replace the word High with anything else in the description, such as "main" -- it clearly shows it's not searching for that as the exact phrase word for word, or there'd be 0 results in that case.

 

The documentation for advanced Lucene in Jira doesn't seem to actually work. https://support.atlassian.com/jira-software-cloud/docs/search-syntax-for-text-fields/.  But I'm also 1000% certain I've done this exactly JQL search in a past Jira life at another company, but there I self hosted, and this is in the cloud. We do have word stemming enabled, too, which is also turning up more matches.

2 answers

1 accepted

2 votes
Answer accepted
Dane Kantner
Contributor
May 10, 2021

It seems like this is a known bug with Cloud that is still unassigned by Atlassian:

 

https://jira.atlassian.com/browse/JRACLOUD-69263

 

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

 

So the answer is, you cannot do this. Going to have to write a script to parse it myself and add labels in to every ticket instead--for a bug they don't even have prioritized.

0 votes
Jim Grill February 16, 2022

still doesn't work

Suggest an answer

Log in or Sign up to answer