Advanced filter set to not show items with status Complete - items still showing.

Allen Issac March 25, 2016

Currently using this filter:

issuetype = "Convert Logo" OR issuetype = logo AND assignee = currentUser() AND status in (Open, "In Progress", Reopened) AND status not in (Complete) ORDER BY summary ASC

Tasks with the status Complete are still displaying.

2 answers

1 accepted

4 votes
Answer accepted
Michael Partyka
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.
March 25, 2016

Hi Allen,

 

you use 2 times status field. Please try this jql:

issuetype in ("Convert Logo","logo") AND assignee = currentUser() AND status in (Open, "In Progress", Reopened) ORDER BY summary ASC

it should automatically exclude issues in Complete status

Allen Issac March 25, 2016

That worked! Thank you.

I had originally used:

issuetype = "Convert Logo" OR issuetype = logo AND assignee = currentUser() AND status in (Open, "In Progress", Reopened) ORDER BY summary ASC

...with no success. That's when I tried explicitly telling to not include Complete.

1 vote
Udo Brand
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.
March 25, 2016

Well, the error in your original query wasn't to use twice the status field but not putting the "OR" expression in brackets.

(issuetype = "Convert Logo" OR issuetype = logo) AND assignee = currentUser() AND status in (Open, "In Progress", Reopened) AND status not in (Complete) ORDER BY summary ASC

However, Michal query looks much nicer still smile

Suggest an answer

Log in or Sign up to answer