In my filter I want to eliminate closed and completed issue:

Here is my filter: (project = ABC AND issuetype = "QA Release" AND (resolved >= startOfWeek() OR resolved is EMPTY)) OR (project = DEF AND issuetype = "QA Release" AND (resolved >= startOfWeek() OR resolved is EMPTY)) OR (project = GHI AND issuetype = "QA DNS Request" AND (resolved >= startOfWeek() OR resolved is EMPTY)) ORDER BY key ASC, Rank ASC

I want to not show issues that are closed or completed. How do I add this?

Thanks

John

1 answer

1 accepted

I think you have a lot duplication in your JQL, that makes it harder to figure out.

How about: (Project in (ABD, DEF) AND issuetype = "QA Release") OR (Project = GHI AND issuetype = "QA DNS Request") AND (resolved >= startOfWeek() OR resolved is EMPTY)) AND status not in (Closed, Completed) ORDER BY key ASC, Rank ASC

 

(Project in (ABC, DEF) AND issuetype = "QA Release") OR (Project = "GHIJ KLMNO" AND issuetype = "QA DNS Request") AND (resolved >= startOfWeek() OR resolved is EMPTY)) AND status not in (Closed, Completed) ORDER BY key ASC, Rank ASC

I get this error: Error in the JQL Query: Expecting either 'OR' or 'AND' but got ')'. (line 1, character 167)

I think there's an extra ) after "resolved is empty" that should be removed. Copy-paste error on my part.

(Project in (ABC, DEF) AND issuetype = "QA Release") OR (Project = "GHIJ KLMNO" AND issuetype = "QA DNS Request") AND (resolved >= startOfWeek() OR resolved is EMPTY) AND status not in (Closed, Completed) ORDER BY key ASC, Rank ASC

Nicholas:  NAILED IT!! You made me look good. (doesn't take much) smile

You're welcome smile  I learned a lot from people here when I started. It's just fair I try and help out.

agree, I read these everyday and I try to do the same where I can.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

696 views 6 13
Read article

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