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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.