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

This widget could not be displayed.
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 Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

509 views 3 18
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