Forums

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

JQL search phrase search

Stewart G Behra August 25, 2020

I have been trying to search for an exact phrase using the JQL description ~ "Open Error, Order"

This is text from an error message in the software. My results have a description that has any of those words and not that exact phrase. 

This JQL description ~ "Open Error" AND description ~ "Order" returns the same results.

What is the syntax to search an "exact phrase" with multiple terms in the phrase?

2 answers

1 accepted

0 votes
Answer accepted
Stefan Riethmann
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!
August 25, 2020

Hi @Stewart G Behra ,

If I understand you correctly (getting an exact value from a text field via JQL) the correct answer should look like this:

description ~ "\"Open Error, Order\""

It only shows issue that exactly match the condition.

Stewart G Behra August 25, 2020

Hey @Stefan Riethmann 
That works as expected. I plucked some phrases from several JIRA tickets and was able to confirm your solution.

Thanks

Like Stefan Riethmann likes this
0 votes
Nic Brough -Adaptavist-
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.
August 25, 2020

Do you mean JQL (Jira Query language), and not Jquery (javascript query)?  It heavily affects how we try to answer this question.

Stewart G Behra August 25, 2020

Sorry yes JQL. Using the front end Advanced search feature. 

Suggest an answer

Log in or Sign up to answer