Forums

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

Count epic's child items and display in a custom field - not working

BMacDonald
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!
August 5, 2025

Automation rule | How to find the count of child issues of a specific type under the Epic and store it in a custom field? | Automation | Atlassian Support

 

I use the article linked above which worked, however, for epics with more than 100 child tasks the total displays as 100. I've double checked them all.

For any epic with <100 tasks the number is correct. For any epic with >100 tasks the number given is exactly 100.

Can anyone see why that is? 

 

1 answer

4 votes
Kai Krause
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.
August 5, 2025

Hi and Welcome,

It is not your rule – it is the platform.:D

The automation tasks have sometimes caps inside. The “related-issues” operation caps at 100 issues per Action to protect performance on shared Cloud tenants. as the result set is larger than 100, anything after the one hundredth issue is ignored, so :

• For Epics with fewer than 100 children the count is correct.
• For Epics with more than 100 children the count stops at 100

A list of the mimits you can find Automation service limits | Cloud automation Cloud | Atlassian Support 

A possible workaround could be to call with the webrequest action the api. 

GET /rest/api/3/search?jql=parent=EPIC-123&startAt=0&maxResults=1000&fields=key

and then  use

 {{webResponse.body.total}}

to get the total. 


BR
Kai  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events