Groovy script operations - How to multiply values in field

Hi,

I want to multiply the values in two customfields and display the result in another customfield.

ex: I have a field called 'Value1' and another field called 'Value2'. Both are drop down with numbers from 1 to 5. When I will create an issue, let's say I will select '3' in field Value1 and '4' in field Value2, I want the script to multiply those two values and display the result (12) in another field called 'Result'.

how will I do that?

thnx in advance!

1 answer

1 vote
Henning Tietgens Community Champion Oct 15, 2012

I would suggest, you create a scripted field which reads the values from the other two fields and returns the result. See https://studio.plugins.atlassian.com/wiki/display/GRV/Scripted+Fields

Henning

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

335 views 0 1
Read article

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