Forums

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

JIRA filter

Theo
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!
June 21, 2022

I have a filter for linked issues and 1 simple condition: 

"issue in linkedIssues(XXXXX) OR issue in linkedIssues(XXXXX) AND status not in (Closed, Done, Resolved) ORDER BY priority DESC

But the AND condition is ignored no matter how I put it (not in, or in etc.)

Any ideas?

1 answer

1 accepted

3 votes
Answer accepted
Paula Hidalgo
Contributor
June 21, 2022

Have you tried parenthesis? 

(issue in linkedIssues(XXXXX) OR issue in linkedIssues(XXXXX)) AND status not in (Closed, Done, Resolved) ORDER BY priority DESC

produces a different result from 

issue in linkedIssues(XXXXX) OR (issue in linkedIssues(XXXXX) AND status not in (Closed, Done, Resolved)) ORDER BY priority DESC

Theo
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!
June 21, 2022

sorted

Many thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events