What are some of the formulas? Need to get $ amount using % & $ (ie 30% of a 1k budget)

Kay D Walfoort March 10, 2017

This question is in reference to Atlassian Documentation: How to update custom field values during workflow transition.

I would like to find a place with a list of all the potential formulas that can be used to calculate in post-function; or even some primary ones  smile

1 answer

0 votes
Niclas Sandstroem
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 12, 2017

Hi Kay,

The plugin you reference don't really add this capability. I would recommend looking into Script runner so you can perform the operations you want.

Example,

def money = '1000'.toBigDecimal();
def percentage = '0.3'.toBigDecimal();
def result = money.multiply(percentage);
return result as Integer;

Br, Niclas

Suggest an answer

Log in or Sign up to answer