Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Behavior - NumberException error when setting a single list field

Vivian Escalante February 1, 2019

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)

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events