Forums

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

What's wrong with my JQL? It still shows issues with all statuses.

Idrees
Contributor
February 1, 2023

I'm trying to search all the issues that have their parent or epic or link issue IQ-6885 but the below query results in issues with all the statuses.

 

JQL:

parent=IQ-6885 OR "Epic Link"=IQ-6885 OR "Parent Link"=IQ-6885 AND status IN ("Close (Ready to Go Live)", "Close ( Ready to Go Live)", "Closed", "Closed.") ORDER BY createdDate

1 answer

1 accepted

4 votes
Answer accepted
Alex Koxaras -Relational-
Community Champion
February 1, 2023

Hi @Idrees 

Try placing the first three ORs in parenthesis:

(parent=IQ-6885 OR "Epic Link"=IQ-6885 OR "Parent Link"=IQ-6885) AND status IN ("Close (Ready to Go Live)", "Close ( Ready to Go Live)", "Closed", "Closed.") ORDER BY createdDate

Let me know if you got the results you wanted.

Idrees
Contributor
February 1, 2023

@Alex Koxaras -Relational- Thank you Sir. It worked perfectly.

Like John Funk likes this
Alex Koxaras -Relational-
Community Champion
February 2, 2023

@Idrees nice to know that! Kindly mark my answer as accepted, in order to help others in the community with similar questions. Thank you!

Like Idrees likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events