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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

585 views 25 15
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