Hello,
I want to know if it is possible to sum up two field values. For example, when N1 and N2 are filled, the sum (N1 + N2) should be shown in N3.
You would need a plugin for it. For example, you could use the Power Script add-on:
https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview
You could write a post function with a code like this:
#{N3} = #{N1} + #{N2};
You can find more info about post functions here:
https://confluence.cprime.io/display/JJUPIN/Customizing+workflows#Customizingworkflows-Forpostfunctions
Thank you! Is it possible in scriptrunner add-on?
Of course, it is also possible with ScriptRunner:
You can find an answer here:
https://community.atlassian.com/t5/Jira-questions/how-to-calculate-the-sum-of-2-custom-fields-via-a-groovy-script/qaq-p/422070
It looks like you're new here. Sign in or register to get started.