Following query works - and lists all the issues for which Resolution is Fixed and Unresolved. (Note: Unresolved shows in italics in the response.)
project = XXX AND assignee in (YYY) AND status not in (Closed, Done, cancelled )
Following query also works - shows only those who have resolution as Fixed.
project = XXX AND assignee in (YYY) AND status not in (Closed, Done, cancelled ) and resolution in ( Fixed )
To eliminate Fixed ones and see only Unresolved, I modify the query as below - and it DOES NOT WORK!
project = XXX AND assignee in (YYY) AND status not in (Closed, Done, cancelled ) and resolution not in ( Fixed )
I also tried the following version - and that too did not work.
project = XXX AND assignee in (YYY) AND status not in (Closed, Done, cancelled ) and NOT ( resolution in ( Fixed ) )
It's not a bug, you are missing something.
Look at the question you are asking it, and bear in mind that computers are very literal, and do not think the same way humans do, nor do they think in the same language.
When you ask "resolution in x, y", you are asking for all issues where the resolution is either x or y.
When you ask "resolution is not in x, y", you're asking for all issues where the resolution is not x or y.
But you have not asked for issues where the resolution is empty, which JIRA will report as "unresolved". You can't ask a computer to check if something is not X or Y when there is nothing there to actually check. It can't do it. Humans mostly instinctively understand that <null> in this case also means "not x or y", but mathematically and logically, it's not.
Try this query:
project = XXX AND assignee in (YYY) AND status not in (Closed, Done, cancelled ) and
(resolution not in ( Fixed ) or resolution is empty)
It should also work for (resolution not in (Fixed) or resolution = unresolved)
Thanks much @Nic Brough.
The UI made me completely miss the point that "Unresolved" is actually NULL - and not a literal like Fixed. (When I download the report in Excel, the "unresolved" does come in as empty field though.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.