Issue with JQL Query and the results I am getting

Terry September 16, 2022

I have created the following JQL Query in Excel using the add in

Project="AOC Court Reporter System"
AND status != Done
OR status != 'Coding Done'

When I run the query to extract my project's "issues" I get all the projects not just mine.

Thanks in advance

1 answer

1 accepted

0 votes
Answer accepted
Jason Lane September 16, 2022

Hi Terry,

Its pretty simple you have the OR option which is why your getting everything. Change the OR to another AND and that will work:

Project="AOC Court Reporter System"
AND status != Done
AND status != 'Coding Done'

Thanks

Laura Campbell _Seibert Media_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 16, 2022

I would recommend for the status using "status not in ("Done", "Coding Done") or if you just want to exclude issues that are any type of done/finished status, use the status category: 

statusCategory != Done
Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events