How to remove all the options of a select list custom field using behaviours (Script Runner).
You could simply do this (you can put this in the initializer script):
import com.onresolve.jira.groovy.user.FieldBehaviours
import com.onresolve.jira.groovy.user.FormField
import groovy.transform.BaseScript
@BaseScript FieldBehaviours fieldBehaviours
FormField ffPruebaSL = getFieldById("customfield_10201") // Change with your field ID
ffPruebaSL.setFieldOptions([:])
// If you want the "None" Option to be available uncomment the following line and comment the previous one
//ffPruebaSL.setFieldOptions(["0":"None"])
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.