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.

Have you set any default value for that field?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

215 views 4 9
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