Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events