Forums

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

JQL for MultiSelect Field

Gor Greyan
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.
November 19, 2025

Hi, Dear Community!

I have a Partner multi-select field.

I have automation, which should provide access when the Partner name, for example, X.

But it should not provide access when the partner name is X, Y, Z, only when it is X.

Couldn't get the JQL, which will work only in that case.

Also can't exclude the rest partner's name, as there are more than 100 values.

Thanks in advance.

1 answer

1 vote
arielei
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.
November 19, 2025

Hello @Gor Greyan 
Try the following JQL

"Partner name" = X and "Partner name" not in (Y,Z)

This would give you the result you want.

 

Ariel. 

Gor Greyan
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.
November 19, 2025

Hi @arielei

Thanks for the answer, but as I mentioned, I can't exclude the rest values, as I have more than 100 values, and it is being added again and again.


arielei
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.
November 20, 2025

Hey @Gor Greyan 

I understand you issue.

So what i would do is:

1. Create a JQL filter.

after that:
1. Create an schedule automation

2. Run a branch on JQL: "Partner Name" = X

2. Do if on branch if {{issue.Partner name.size}} equals 1

3. add it to var.

 

Then, run a web rest api call to update the saved filter with those values.

 

so for example, the filter will be: "Key in (A-1,A-2,A-3)".

keep in mind that you will probably need to do some adjustments on the syntax before saving it as a filter.

 

Hope that helps.

Ariel.

Suggest an answer

Log in or Sign up to answer