Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to sum a custom field value from child issues to epic parent



I'm trying to find the smart value that describes a parent's child issues.

I have created an automation that sum the values of a custom field, from sub-tasks to their Stroy/Task parent.

Now, I'm trying to level it on step up, and take the same value I got for Story/Task and sum it up to the epic level (taking all the value from all the stories/tasks under the epic).

You can see the automation that takes from sub-tasks to story/task (in the answer below) - which works perfectly.
I can't find a way to take it one level up to epic.


2 answers

1 accepted

0 votes
Answer accepted

Hi @Alon Shoham 

I wrote an article a while back about adding original estimate to an Epic. You could use this as a starting point an replace your original estimate with your variable

@Alex Koxaras _Relational_ Thank you so much for your answer.

The automation failed in the 'Advance' JSON format.

Those are the fields and hirarcy I have, If you could suggest me how to write the JSON format I would appreciate it a lot!

1. In every Task/Story there is a field called "Effort estimation - DS".
(The 'Lookup issues' is success to find all the tasks/stories under certain epic)

2. In every Epic there is a field called "Effort estimation - DS".

I want the automation to sum the values from "Effort estimation - DS" in all the tasks and stories and present the total sum in the Epic's "Effort estimation - DS" field.

That's how I wrote the JSON:

"fields": {
"Effort Estimation - DS": {
"Effort Estimation - DS" : "{{lookupIssues.Effort Estimation - DS.sum}}"

Hi @Alon Shoham 

Your JSON should be something like:

"fields": {
"Effort Estimation - DS" : "{{lookupIssues.Effort Estimation - DS.sum}}"

You had an extra field for a strange reason. Maybe you got confused with my automation and the "time tracking" field, which is a special bundle type of field.

Try the JSON above and let me know. If it fails, see the audit log and paste the message.

@Alex Koxaras _Relational_ you are awesome!!! It works perfectly! 

The community is never disappointing! thanks again.

@Alon Shoham nice to hear that! Kindly mark my answer as accepted in order to help others! Cheers!



Suggest an answer

Log in or Sign up to answer