The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

jira query issue

Samuel
Contributor
May 29, 2014

I have these 3 queries

project = Test AND issuetype = Defect AND "Custom Field" = "vaule A"  This one returns 10 items
project = Test AND issuetype = Defect AND "Custom Field" = "vaule A" AND resolution in (fixed)  This one returns 6 items
project = Test AND issuetype = Defect AND "Custom Field" = "vaule A" AND resolution not in (fixed)  I expect this one to return 4 items but only returns 1

What am I doing wrong ?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
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 Champions.
May 29, 2014

You have most probably 3 issues which doesn't have any resolution on it.

project = Test AND issuetype = Defect AND "Custom Field" = "vaule A" AND resolution is EMPTY

should return 3 items.

project = Test AND issuetype = Defect AND "Custom Field" = "vaule A" AND (resolution not in (fixed) or resolution is EMPTY)

should return 4 items.

TAGS
AUG Leaders

Atlassian Community Events