JQL multi-select searching

Is there a way to do a search on a multi-select custom field containing one of the configuration values?

For example, I have a multi-select field with choices A, B, C, D. I want to query any issues containing A. Is there a way to query without listing out all permutation in the JQL like cf in ('A', 'A+B', 'A+B+c', 'A+C,...)? The ~ operator doesn't seem to work on multi-select.

1 answer

Sylvia,

The operator "~" does not work for multi select fields, you're right. Instead, you can simply use the "IN" operator, as in "<Multi-Select cf> in (A)", that will return all issues containing A.

For more information, refer to the documentation here.

Hope that helps.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

133 views 6 8
View post

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you