Hello all,
So when I set a custom field's option to "No" for a single list I get this error. Any idea why? I have other single list custom fields and I'm able to set them with Yes/No options easily.
Thanks.
customfield.setFormValue("No")
java.lang.NumberFormatException: For input string: "No" at com.onresolve.jira.groovy.user.FormField.getOptionString(FormField.groovy:329) at com.onresolve.jira.groovy.user.FormField.getValue(FormField.groovy:229) at com.onresolve.jira.groovy.user.FormField$getValue$9.call(Unknown Source) at Script1.run(Script1.groovy:251)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.