The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Duc Thang TRAN
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

Hello @Boopathi 

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 @Boopathi 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
Community Champion
December 17, 2025

Hi @Boopathi 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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events