Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 find an empty mandatory field?

Hi folks,

I've recently added a mandatory custom field, and then done a bulk update to set it to one of two values, based on another field (a label, which we're finding too error-prone).

The bulk updates worked okay, but there were some exceptions, ie tickets that didn't match the bulk update criteria, and therefore the mandatory field is not set. I want to mop these up.

When I try to use JQL to find these, Jira just tells me there aren't any. Yet I can go through the backlog and pick them out. So what's occurring?

My query is this:

project = TLA and (field != "Option 1" and field != "Option 2") OR field is empty


This only finds records where I've actively set field to a valid value that isn't "Option 1" or "Option 2." It's refusing to match "empty" with "not set." How do I find the records that haven't been captured by the bulk change?

1 answer

Hi @Jim Strange 

Are you sure the issues dont have a value? Issues that dont have the field in their view screen might still have a value even though you cant see it on the issue :)

Hi Mathis,

It's a brand new field so the values will have defaulted to Not Set. There are only three possible options for this field and I've tried them all!

Hmm.. what happens if you pick one out and change the value from None to whatever and then back? Are you able to query them then?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

59 views 0 3
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