groovy - JIRA ScriptRunner Multiplying 2 CustomFieldValues error -


i trying multiply 2 customfieldvalues end following errors:

error

here code:

code

what can done resolve errors?

edit1: changed totalinstancecost calculation to: parsing

but still receive errors:

error2

change

totalinstancecost = instancestring * usagestring * 31 

to

totalinstancecost = double.parsedouble(instancestring.tostring()) *                      double.parsedouble(usagestring.tostring()) * 31 

Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

delphi - Disable and change color of node in Treeview -

elasticsearch python client - work with many nodes - how to work with sniffer -