JQL query Custom field is empty search not working with contexts

I have a select list custom field with multiple contexts - one is default context, and the X-context which is only defined for one issue type for Project X.

When editing an issue in Project X, the field has the following options: None, A, B.

When doing a search filter, I can search where custom field in ("A", "B").  But it returns nothing when I try where custom field is EMPTY, even though there are issues that do not have anything set.

Is this a bug with multiple contexts?

2 answers

I did find a work around by having a filter (i.e., Filter1) that selects all the issues where the custom field in ("A", "B") and then doing another search with NOT filter = "Filter1"

0 vote

Hi Myra,


This seems to be the known bug tracked as:



I have added your workaround to there :) 



Fantastic, thanks, Dario.

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

30 views 0 3
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot