Could you please help me out on the below request?
I have a field called 'Value1' and another field called 'Value2'. Both are Select list custom fields with numbers from 1 to 5. When I 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'.
Try setting the following SIL script to your SIL cf:
number x = customfield_xxxxx;
number y = customfield_yyyyy;
SIL will automatically cast the two custom field values to numeric values and will do the correct calculation, assuming you only have values from 1 to 5 in the two select lists..
The only the calculated field (result) would be a Kepler Custom field. How are you defining the value1 and value2? Are you using JIRA or are you going to use a Kepler Database Custom fields? Yes, a Kerpler Database Custom field is a different plugin from Kepler Custom fields.
If you look in your JIRA log, you should see error messages. I know you are not addressing the custom fields correctly because the name should be customfield_<number>. What I don't remember is how to get you the number. It should be in the JIRA screen where you defined value1 and value2.
http://confluence.kepler-rominfo.com/display/SIL/Variable+Resolution (see the section about custom fields)
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork? We've compiled a list here, along with...
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!
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