Forums

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

Count bugs under Epic

Oded Tali December 19, 2023

How (if at all) is it possible to to to count by JQL - how many bugs are under specific epics 

Something like - Count (issue type = Bug and Epic Name = "My Epic")

which returns a amount of returned records 

1 answer

0 votes
Antuan Sammak
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 Leaders.
December 19, 2023

Hi @Oded Tali 

 

the JQL you are after should be like following:

 

Epic Link = "epic id" AND issue type = Bug

 

this will return all bugs under this epic and you will be able to easily spot the total number from query results page

Oded Tali December 19, 2023

Thanks for the response 

I know the above, but I am looking for reteriving the count of JQL (or other way)

 To be more accurate : I want to have a calculated field in Epic level which will retrive automatically how many bugs are linked to Epic for Example (dashobard table) 

 

Epics nameDefects  
Epic 000133 
Epic 000242 
Epic 000321 
Antuan Sammak
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 Leaders.
December 19, 2023

using Jira built in features, you can use automation to get the above count and to be more specific you need to use {{lookupIssues.size}} 

here is a post that explains the same case https://community.atlassian.com/t5/Jira-Core-Server-questions/Using-the-lookupIssues-to-find-number-of-issues-in-an-Epic/qaq-p/1681084

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events