Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Limit Select list results based on JQL results

todd_palermo_na_honda_com
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 20, 2025

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)

1 answer

0 votes
Florian Bonniec
Community Champion
February 21, 2025

Hi @todd_palermo_na_honda_com 

 

Using a script field of type Issue picker will be easier in your case no ?

Issue Picker

 

Regards

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.2
TAGS
AUG Leaders

Atlassian Community Events