Forums

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

I want to sum the number of a type (change request) of child work items on a Parent

maggie.pople
Contributor
July 1, 2025

I have a work item called a Change Request and I want to sum the number of them and display it on a custom field.

Not all child issues, just the specific type.

1 answer

0 votes
Trudy Claspill
Community Champion
July 1, 2025

Hello @maggie.pople 

You can accomplish that with an Automation Rule. Are you familiar with Automation Rules?

https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/

You could set up a rule that uses a Scheduled trigger with a JQL statement to select the parent issues you want to review.

Then use a Lookup Issues action with a JQL statement to find all the child issues of the specified type under that parent.

Then use the Edit Work Item action to set the number field to the results of the Lookup Issues action using the smart value 

{{lookupIssues.size|0}}

Screenshot 2025-07-01 at 10.03.56 AM.png

If you are unfamiliar with Automation Rules you can find more information:

- in the documentation links I provided above

- in the Atlassian Community Learning center (link at the top of the Community pages)

- by using the Template rules that are available through the Automation feature directly in Jira

Screenshot 2025-07-01 at 10.00.55 AM.png

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