Searches using "is EMPTY" and "is not EMPTY" not consistent

I try running three different searches:

1) project = MYPROJ AND component in (" COMP1 ", "COMP2") AND status = Open

2) project = MYPROJ AND component in (" COMP1 ", "COMP2") AND status = Open AND "Requirement Id" is not EMPTY

3) project = MYPROJ AND component in (" COMP1 ", "COMP2") AND status = Open AND "Requirement Id" is EMPTY

The results:

1) 95 results

2) 29 results

3) 14 results

I would have expected the sum of 2) and 3) to be 95, but it isn't. It looks like the results of 3) are not complete.

1 answer

1 accepted

2 votes

Have a look at the "context" for the field "requirement ID".  I suspect you will find it says something like "Project: MYPROJ and Issue Type: Story".

To take your three queries and explain them, and where I think the other 52 issues have gone on line 4:

  1. All issues in my project with status open and one of two components (95)
  2. As 1, and with Requirement ID filled in (29)
  3. As 1, and with Requirement ID blank (14)
  4. As 1, and where the Requirement ID is not a valid field for the issue (52)

What I'm getting at is that "field does not exist" is not the same as "field is empty"

OK thanks. Your hint helped me to make a filter which takes into account the isue type.

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 ...

2,958 views 12 18
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