If the condition is false I need to set a message into a customfield that is fieldtype single line text field.
below is the code I have for the customfield
def cf2 = ComponentAccessor.getCustomFieldManager().getCustomFieldObjects ByName('Transition Blocker')
In the condition it does not allow me to
get the custom field value and then getFieldByID and set the FormValue or per documentation do
cf2.setError ("this is it)
else
cf2.clearError()
Using script runner version 7.8.0