Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sum two integer field values

QK September 7, 2018

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.Capture.PNG

2 answers

3 votes
Alexey Matveev
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.
September 7, 2018

Hello,

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

0 votes
QK September 7, 2018

Thank you!   Is it possible in scriptrunner add-on?  

Alexey Matveev
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.
September 7, 2018

Suggest an answer

Log in or Sign up to answer