Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA not processing query correctly

Felix Agalaba
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 23, 2012

We have a filter defined as follows

project = TTRA AND fixVersion != Trash AND type in (Bug) AND resolution != Not a Bug

or

project = TTRA AND fixVersion != Trash AND type in (Bug) AND (resolution != (Not a Bug))

or

project = TTRA AND fixVersion != Trash AND type in (Bug) AND (resolution not in (Not a Bug))

We want it to show all bugs on the project except those in trash or not a bug

When this filter/Query is run, it doesn't show bugs with resolution = unresolved

We believe it should. We believe the query resultset should include BUG issues with resolution = unresolved. But it is not showing them.

We know there are issues with resolution = unresolved because the query below shows them:

project = TTRA AND fixVersion != Trash AND type in (Bug) AND (resolution in (Unresolved))

1 answer

0 votes
Thomas Heidenreich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 23, 2012

Hi,

resolution != Not a Bug

will find all issues that have a resolution set other than Not a Bug. Unresolved issues do not have a resolution set, so they won't show up. Try:

project = TTRA AND fixVersion != Trash AND type in (Bug) AND (resolution != Not a Bug OR resolution in (Unresolved))

Hope this helps
Thomas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events