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

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
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events