Looking for sample script for Sum of three single select list fields using groovy in JIRA and that should show in another numeric scripted custom field.
Select list fields store options you select, not numbers, so you can't just add them up.
You will need to read the value of each field and convert from an option to a number (bearing in mind one of your admins could easily add something like "three" or "twelvety" as options, so you'll need to catch non-numbers), then add them up
https://library.adaptavist.com/entity/calculate-the-sum-of-all-values-of-a-custom-field-in-linked-issues is an example of adding up numbers into another field, after you've converted to numerics.
Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events