How do I sum up numerical values of multiple custom fields?


2 answers

1 accepted

0 votes

Hi Dipen,

Another plugin which provides calculated custom fields is the JIRA Misc Custom Fields plugin.

For more details about how to configure such fields, you may refer to their documentation, linked below:



Hi Danilo, Thank you - this was very helpful. My only problem is that my custom fields that I am calculating are from a drop down list that contain both numeric and alpha-numeric values, so it is concatenating the values rather than adding them. Is there a way to 1) make them add, and 2) there is only one alphanumeric value and can i create a condition that makes the code looks at it as a numeric value of my choosing? Thanks, Dipen

Not with the JMCF - it requires numerics. You need the script-runner to be able to cast them correctly.

1 votes

Find or write a addon that can add them up.  I'd use a calculated / scripted field provided by the script runner addon, but there are other options.

Thank you! Do you have examples of how to sum the value of multiple fields?

Depends on which plugin you use.

Hi Nic, I am using the SumUp plugin, but i'm unsure how to configure it so that it adds up all the field values.

Ah, the SumUp plugin is for adding up the values for one field on many issues, not accumulating fields. If you imagine your list of issues as a spreadsheet, one row per issue and one field per column, then SumUp provides "column totals". What you're looking for is "row totals"

Thanks Nic, so what do you recommend I use to get "row totals"

I'd use the script runner...

Thanks - As i'm new to the Jira, are you able to provide an example script that I can use. Here is what I have: Custom Field 1 = 5 Custom Field 2 = 5 Custom Field 3 = 5 Total Custom Field = 15 Looking how to script the Total Custom Field.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,923 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot