Forums

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

Jira Jql is not working as expected .

Boopathi
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!
December 17, 2025

I am an employee from Business Solutions. One of our employees reported an issue where JQL is not working as expected.

The reported query is:

assignee = currentUser() AND status != Closed

However, this query is also returning Closed tickets.

To validate this, I tested the query by explicitly specifying the user:

assignee = <userId / email / username> AND status != Closed

I observed the same behavior, where Closed tickets were still being listed. A similar issue was also reported by another Scrum Master.

I reviewed the query for any syntax or logical errors but could not find any issues. Since the JQL itself appears to be correct, this seems to be a Jira-side behavior or configuration issue.

Kindly help us understand why Closed issues are still being returned and advise on how this can be resolved.

4 answers

1 vote
Duc Thang TRAN
Contributor
December 17, 2025

Hello @sboopathi 

What does "where Closed tickets were still being listed" mean? Are other tickets with a green status (Done/Resolved etccc ) still showing?
If yes, you can use:

assignee = currentUser() AND statusCategory != Done

This will only show tickets with gray (To Do) or blue (In Progress) status

0 votes
Aron Gombas _Midori_
Community Champion
December 17, 2025

First off, just try this search with the "user clause" removed:

status != Closed

 If the problem still persists, then the root cause is not related to the "user clause". It is rather likely that it will reproduce the problem, but at least you eliminated one "moving part".

0 votes
Dave Mathijs
Community Champion
December 17, 2025

Hi @sboopathi welcome to the Atlassian Community Forums!

First of all, please make sure to check that work items in status 'Closed' all have a Resolution set.

Check the following knowledge base article for more info:

Best practices on using the "Resolution" field in Jira Cloud

0 votes
Staffan Redelius
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 Champions.
December 17, 2025

Hi @sboopathi and welcome to the community.

What result do you get if you add a paranthesis to the second clause?

assignee = currentUser() AND (status != Closed) 

 Best regards,
/Staffan

Suggest an answer

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

Atlassian Community Events