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

Sum Up - Currency Rollup Calculation from Task to Epic

Marina Koga August 15, 2023

Hi , 

 

Could anyone please advise what am I doing wrong?

The idea is to be triggered everytime Budget Consumption is updated on a Task level and updated to Parent Epic_Budget Consumption... 

Capture1.PNG

 

Trigger details

Capture2.PNG

Lookup issues

Capture3.PNG

Edit Issue Field

Capture4.PNG

Currently, as a result when Budget consumption updates on Task it clears the field in Epic. Will this have to do with OOTB setup?

Capture5.PNG

Many Thanks

Marina

 

2 answers

2 accepted

2 votes
Answer accepted
Curt Holley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 16, 2023

I think in the edit issue field you want to have {{lookupIssues.Budget Consuption.sum}}

Marina Koga August 23, 2023

Thanks for you comment, is the below aligned to your suggestion? If so , this current rule is not rolling up to parent (epic) as expected.  Are you able to confirm? Many Thanks

 

lookup.PNG

Curt Holley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 31, 2023

@Marina Koga You don't want to put {{lookupIssues.Budget Comsumption.Sum}} as the JQL for the lookup. You need to put that in the Edit Budget Comsumption action. 
You put the JQL that will provide the content in the look up

1 vote
Answer accepted
Hauke Bruno Wollentin
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 15, 2023

In your branch rule you need the smart value {{triggerIssue.[...]}} instead of {{issue.[...]}} to get access to the fields of your Task and not your branch Epic.

Marina Koga August 23, 2023

Thanks Hauke, 

Are you able to confirm if the below setup is as per your suggestion? This still not working and i believe i am missing something (being new on this, appreciate your help and patience). 

Many Thanks

MarinaIssue.PNG

Hauke Bruno Wollentin
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 30, 2023

I'm not 100% sure since I never had the case you described, but in the official documentation I can't find any function ".sum" like you used.

But still there are some math functions available that you could try out.

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-math-expressions/

To be honest, since we have bought ScriptRunner I typically use Groovy to perform such calculations, but maybe it is possible by Jira Automation + Smart Values at all.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events