Customfield: Search for "Customfield IS EMPTY" does not return issues

Hello there,

we have created an app for JIRA Server which provides a custom field.

The search for fields with values works fine but the search for empty fields always return zero issues even though there are issues where the custom field is empty.

Do i need to do anything in the searcher to make this work?

Thanks a lot!


1 answer

I figured out how " IS EMPTY" works for a number custom field.

JIRA translates the JQL to a lucene query with some garbled characters i cant even copy & paste them here:


 But i havent understood how JIRA gets this value into the Lucene Cache.

When i look into the lucene Cache the document does not have a field when the custom field is not set

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

168 views 3 5
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