Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,325
Community Members
 
Community Events
165
Community Groups

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

Edited

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

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.

still doesn't work

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,851 views 37 48
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you