Aggregate value doesnt use decimals from custom fields

I have custom fields that have numerical data as values (also values that include decimals - 1.5 or 10.1 etc)

When doing an aggregation, the sum leaves out the decimal part:

1.5 + 10.9 = 11

 

It does work correctly on standard fields, though ...

 

Any ideas on what should i check or change?

Thanks

3 answers

This widget could not be displayed.

What do you mean b\y the aggregation? How do you do it? Some JavaScript or addon or in excel?

This widget could not be displayed.
Tarun Sapra Community Champion Jan 26, 2017

If you are using script runner for, make sure you use "Double" type 

This widget could not be displayed.

How exactly do I control that?

When I create a new custom field, I just have the option to choose "Number Field" ...

Tarun Sapra Community Champion Jan 27, 2017

Put the (Double) type casting where the aggregation is taking place. which plugin are you using for this functionality?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

277 views 1 3
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