Forums

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

How do I sum the child tickets of an Epic

Carlos Barros August 18, 2025

I am creating an automation called Teste_Calculo and it is configured as follows:

  • Changing the Sprint fields,

  • I create the variable varSomaEstimativa:
    lookupIssues.timeoriginalestimate.sum
    where the item type is equal to Task,

  • For the Parent,

  • I edit the Original Estimate field with varSomaEstimativas.

The Original Estimate field of PRO-5459 is updated with 120h, but the Original Estimate field of PRO-5448 (Parent) is not being summed.

What could be incorrect?

2 answers

1 accepted

0 votes
Answer accepted
Matteo Vecchiato
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 18, 2025
Carlos Barros August 18, 2025

Thank you for the workflow.

I completed the entire configuration, but it didn’t work.

In the log I see:

JQL Condition
08/18/2025, 1:52:49 PM

The following tickets did not pass the condition:
PRO-5458

Epic3.pngEpic_2.pngEpic.png

Thanks

Matteo Vecchiato
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 18, 2025

Hi @Carlos Barros

For activating the automation, a change must be done in PRO-5459. The parent (PRO-5458) doesn't meet the condition of issue type = task.

Regards

Carlos Barros August 19, 2025

Hi @Matteo Vecchiato 

Can't I create a rule for a child type Task and a parent type Epic?

I need to add up all the hours logged in tasks in epic


Thanks for your help.

 

Regards,

0 votes
Lígia Zanchet
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 19, 2025

Hi Carlos,

It’s great to meet you!

Thank you for the screenshot and information.
The issue seems to be with the second condition in your automation rule. If you want your rule to trigger from Task PRO-5459, that task becomes your “triggered issue.”
However, when you use a branch in your automation, the context shifts to the Parent (PRO-5448).

Here’s where things get tricky: the condition if Epic Link = {{issue.key}} is checking whether the Epic Link field in the Parent matches the Parent’s own ID. That comparison will always fail, since a task’s Epic Link would never be its own key.

My recommendation? Remove that condition and give your rule another test. This should help your automation behave as expected.

Thank you, have a nice day!

Carlos Barros August 19, 2025

Hi Lígia,

It is a great pleasure to meet you!

Thanks for your help.

I changed the workflow, but now I am recieving the error PRO-5458 (Specify a valid value for Original estimate (timetracking_originalestimate), Specify a valid value for Original estimate (timetracking))

 



Thanks again, have a great day!

Carlos Barros August 19, 2025

Hi Lígia,

It is a great pleasure to meet you!

Thanks for your help.

I changed the workflow, but now I am recieving the error PRO-5458 (Specify a valid value for Original estimate (timetracking_originalestimate), Specify a valid value for Original estimate (timetracking))

 

Epic_regra.png

 

Thanks again, have a great day!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events