Insight - Calculate attribute based on sum of outbound reference attributes

Phil Patrick April 27, 2022

Hi All,

Were cuurently looking for a method to display the total value (sum) of an attribute from outbound references.

Object A has a "Total Costs" attribute.

Object A has many Object B's reference (outbound) and within Object B there is a "Monthly Costs" attribute.

The idea goal is that each time another Object B references Object A, that the "Total Costs" field is calculated as a sum of all "Monthly Cost" attributes in the referenced objects.

Im assuming this would be achieved with an automation making use of a Groovy Script. But as a complete novice to Groovy Scripting im looking for a pointer in the right direction.

Thanks in advance

1 answer

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events