Hello all, I am trying to limit the Select list based on the results of a JQL search. The script I am starting with is below. I am using this in Scriptrunner Behaviours.
I would like to replace the static map of Option1 and Option3 with the Family field results of a JQL search.
def selectList = getFieldByName("Family")
def map
map = ["Option1","Option3"]
selectList.setFieldOptions(map)
Using a script field of type Issue picker will be easier in your case no ?
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.