Filtering on resolution

Why do the following queries produce different output:

( resolution != Fixed)


( resolution != Fixed or resolution is empty)

the first query does not show unresolved issue - just resolved set with a resolution which is not fixed. This is confusing

3 answers

1 accepted

( resolution != Fixed) gives back all issues that have a resolution set (which is NOT "Fixed")

( resolution != Fixed or resolution is empty) basically returns ALL issues that have a different value for resolution other than "Fixed" including null values (no resolution at all)
0 vote
Timothy Chin Community Champion Jun 03, 2013

Because "Fixed" is a resolution and there are many other resolutions.

0 vote

It's a logical thing. You're thinking in more fuzzy human terms, but you need to be precise when you are talking to computers.

The resolution field is either empty or something. When you say "resolution != Fixed", you're thinking "where the resolution is not fixed", but that's not what you've said, because when the resolution is empty, it doesn't have a value at all. So you can't say it's "not fixed" because it's not a valid comparison.

It's a bit like picking up a bag of flour and saying "is that a cake or a biscuit?". It's neither (although one day it could be either), but your question is excluding the correct answer of "neither".

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

809 views 2 19
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