Query Issue Custom Field: JQL for empty value

Thomas Bloder November 18, 2014

Hello,

we're using the Query Issue Custom Field plugin. The field in question is configured to allow empty values.

Those "Emtpy" valus are displayed by the word "Empty" in the Issue-Screens or an blank value in the drop-down field.

So far, works as designed.

 

However we're having troubles querying for issues, because the JQL

customField is empty

also returns issues that have "Empty" as the value for the Query Issue Custom Field (so essentially, no connected Issue).

We'd like to retrieve only Issues where there is an acutal other issue linked by the Query Issue Custom Field.

 

So, how to query for such Issues?

 

Best regards,

Thomas

2 answers

1 accepted

0 votes
Answer accepted
Peter Bengov
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 18, 2014

Try customField = "empty". the expression IS Empty is reserved for JIRA.

 

Richard Cross November 22, 2018

Is there an equivalent that works for number fields?

0 votes
Thomas Bloder November 18, 2014

Thank you Peter, that works for us!

 

Peter Bengov
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 18, 2014

Happy to help

Suggest an answer

Log in or Sign up to answer