We are looking for a way to limit the input of the Story Points field to be > 0 but less than 99 so that if a person fat fingers a value we do not have a LARGE number in point history
I tried creating a behavior but did not work
def cs = getFieldByName("Story Points")
if (cs.getValue().toString().length() > 99) {
cs.setError("Story Point > 99")
cs.setRequired(true)
} else {
cs.setError("")
cs.setRequired(false)
}