Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JQL to exclude values from customfield select-list


we have a custom-field containing several domains: CompanyDomains

lets assume they are named like;

"domainA - websiteX"; domainB - websiteY"; "domainC - websiteZ"


I want to exclude all websites related to "domainC" in the results.

CompanyDomains !~ "DomainC*" => but does not work

So wanted to say like exclude all domains starting with DomainC


"DOES NOT CONTAIN: !~" is not working because its only used for text searches (IF I understand the documentation correct) - see


any suggestions ? 


2 answers

maybe another approach:


There are more conditions we are checking so we have several IF / ELSE blocks:

However if I put the condition on top the approval will be skipped even when a website from DomainC and any website from DomainA or DomainB is selected.

CompanyDomains IN (DomainC - WebsiteA, DomainC - Website B ....)

So I am struggling for the correct JQL for ONLY those websites :/ 


websites of DomainC = no approval

websites of DomainA & B requires approval


only websites from DomainC are selected => no approval

websites selected from DomainC & DomainA/B => approval

only Websites from DomainA/B => approval


not sure if you can follow - meanwhile spent to much time on this topic and maybe can´t explain myself anymore correctly ^^



For select list field you should use "not in" operator and list all values that you want exclude.

Please check this doc -




hi thanks - totally forgot about this cheat sheet - thanks

problem here: I would need to select plenty of domains manually - which is very sad - are you aware of any solution using wildcards ? 

so I guess my problem is more related to the wildcards for the select-list field


most documentation I found relates to text-fields 

Based on this wildcards don't works for any other field than text field. I found issue which is not resolved about this -

thanks for this as well :/ 

Like Sebastian Krzewiński likes this

Thanks for the update. I'll be sure to keep an eye on this thread.







Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,730 views 21 12
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