Sum of Custom Fields

Lara M March 17, 2023

Hello,

 

I am wanting to get a JIRA automation to add up custom fields in each issue.

 

Each of my JIRA issues have the custom fields (all numerical fields): AWS Size Days, Mulesoft Size Days, Salesforce Size Days, Analysis and Design Size Days, Total Size Days for Completion

 

I want to create a JIRA automation so that the custom field "total size days for completion" = the sum of AWS Size Days + Mulesoft Size Days + Salesforce Size Days+ Analysis and Design Size Days.

 

e.g if

AWS size days = 1

Mulesoft size days = 2

Salesforce size days = 3

Analysis and design days = 4

 

Then total size days for completion = 1 + 2 + 3 + 4 = 10

 

I've used this formula but its not working? Just says no actions performed.

 

{{#=}}{{issue.AWS Size Days[Number]}+{issue.Mulesoft Size Days[Number]}+{Salesforce Size Days[Number]}+{Analysis and Design Size Days[Number]}}{{/}}

 

please can someone help? :) 

1 answer

1 vote
Marco Brundel
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.
March 17, 2023

Hi @Lara M ,

Is 
{{#=}}{{issue.AWS Size Days[Number]}+{issue.Mulesoft Size Days[Number]}+{Salesforce Size Days[Number]}+{Analysis and Design Size Days[Number]}}{{/}}
the exact line you use?

And if you try 
{{#=}}{{issue.AWS Size Days}+{issue.Mulesoft Size Days}+{issue.Salesforce Size Days}+{issue.Analysis and Design Size Days}}{{/}}

Regards, Marco

Documentation

Marco Brundel
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.
March 17, 2023

@Lara M 
an addition/improvement
{{#=}}{{issue."AWS Size Days"}}+{{issue."Mulesoft Size Days"}}+{{issue."Salesforce Size Days"}}+{{issue."Analysis and Design Size Days"}}{{/}}

Lara M March 21, 2023

yes this worked - thank you!

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