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: 

Filtering by Labels not returning correct results as compared to JQL

jitinratra
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!
February 8, 2026

Hi Everyone, 

 

There are two work items that has two labels in them "CST_Automation" and "CST_FY26". When I am running the query using JQL "labels = CST_Automation" , I am getting 2 results, however when I am running the same on Analytics I am getting only 1 result. Not sure what am I doing wrong. Please help. 

JQL

JQL .png

Analytics

Analytics.png

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Mohsin Shaikh
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 9, 2026

Hello Jitin,

 

In Atlassian Analytics, your current query is using an aggregate column, “Maximum Work item key”. That tells Analytics to combine all matching issues into a single row and show only the maximum key value.

JQL, on the other hand, always returns individual issues. So labels = CST_Automation shows 2 issues, while Analytics shows 1 aggregated row based on those 2 issues.

To see both issues in Analytics, replace “Maximum Work item key” with the regular “Work item key” column (or add it alongside), and keep the Labels contains CST_Automation filter. You should then see 2 rows, matching your JQL search.

Regards,

Mohsin

TAGS
AUG Leaders

Atlassian Community Events