Forums

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

Looking for help with filter

Dave
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!
March 31, 2022

Hey there, I can't seem to sort out why this filter is still showing me Epic task types from my DJT project. Can anyone advise? Please see the screenshot. 

2022-03-31 16_05_38-[DJT In Progress] Issue navigator - City of Kingston and 2 more pages - Personal.png

2 answers

1 accepted

2 votes
Answer accepted
Jack Brickey
Community Champion
March 31, 2022

It is all about proper use of (). Try placing "(" right after "OR" and a ")" after "epic)". If you have issues please paste the JQL here and I can edit for you.

Nic Brough -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 Leaders.
March 31, 2022

Without the clarity of () to explain exactly what you want from a query, the computers have to simply read what they're given.  They have no understanding of what you might be asking to see like other humans can.   I think I can see what you really want from this query, but the computers can't.  So they have rules for parsing the "natural language". 

The reason the query isn't doing what you expect is that Jira's rule for parsing is "read each clause and operation left-to-right"

In other words, the first bit before the OR is selecting epics.  The issuetype clause has no impact on the pair of clauses before the OR.

Like Bill Sheboy likes this
0 votes
Purpjesus28 March 31, 2022

Try this :) it should do what you are trying it to 

(status in ("In Progress", "In Review", "In Testing", "Move To Production", "Move To UAT", "Pre-Migration Prep") and assignee = current User()) or (project (DJT) AND status in ("In Progress") And issuetype not in (Epic)) ORDER BY status, priority, due

Suggest an answer

Log in or Sign up to answer