New custom checkbox field can't be queried on existing JIRA items?

I added a new custom checkbox field (single checkbox, labeled/option "Yes") to an existing JIRA installation. The field is called "Regression Tested?". I then created a query to find all items from the last release that don't have this field checked so we can do regression testing on it. My query is this:

Status=Closed and fixVersion="<version>" and "Regression Tested?" IS EMPTY

However, any JIRA item that was created before this field was created and added to the entry/edit screens are not returned with this query (they should be EMPTY by default?). Only newly created JIRAs and existing ones where I have edited the checkbox value on and off (and then saved) are being returned. I also tried using "Regression Tested?" is NULL and also "Regression Tested?" != "Yes". These didn't work either.

How can I get existing JIRA items to show up on this filter?

5 answers

1 accepted

It seems to have resolved itself.

Strange. Must be some index related problem...

Glad it is working better now.

Have you done any re-indexing since you added the custom field?

I just did. It helped, but only slightly. Now I'm getting a few items returned to the filter, but not nearly as many as there should be. And the ones that are showing up were not edited since this field was added, so I have no idea what would be different between them and the others. If I take out the "Regression Tested?" IS EMPTY clause from my query I get all of the items.

Any other thoughts?

I find the same thing with a custom field I added recently. For some reason everything started showing up several hours after the re-index - as though it had actually been indexing the whole time. Any improvement now that more time has passed?

Unfortunately, no. Still have the same number today. Should be dozens more. Just for laughs, I'm doing another reindex. I'll see if anything changes by Monday.

0 vote
Renjith Pillai Community Champion Aug 09, 2013

Have you set any default value for that field?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,317 views 14 20
Join discussion

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