Forums

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

Does JQL support an "equal to and only equal to" operator? (== in Java)

Rob Kelly September 4, 2024

It would be very useful if a user could search for a single value in a pick list, such as find all issues with only one specific version value (not the value in question plus others).

An iff or equal to and only equal to operator ( == ) would be helpful in many use cases.

Is there a feature request for this already suggested?

1 answer

0 votes
Samuel Gatica _ServiceRocket_
Community Champion
September 4, 2024

Hi @Rob Kelly 

You can try using the following: summary ~ "\"saturn summer sizzle\""

You can read more about this at Search for an exact phrase with JQL 

However, I don't believe that this is supported by a multiple-field selection.

 

Best regards

Sam

Rob Kelly September 4, 2024

Thank you for your attempt to support.

This does not align to the problem statement targeting picklists. I am not concerned with text pattern matches in open text fields.

Samuel Gatica _ServiceRocket_
Community Champion
September 4, 2024

Hi @Rob Kelly 

I found this similar post Query a single value from a multi-value field 

"JQL looks at multi-select fields as though they are a list of options (which they are).

If you have an issue with Monday, Wednesday and Friday in the "day" field, then JQL will look at all three when you ask it "show me issues where 'day' = Wednesday", and hence it will return that issue."

I believe this feature is not yet supported in JQL.

 

Best regards

Sam

Rob Kelly September 4, 2024

That response is not applicable to this question topic. 

Suggest an answer

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

Atlassian Community Events