I'm trying to get the options for a Select List (single choice) field from a Json formatted file but I can't find any example. The options may change daily so I can't rely on a static list.
The following one is similar, it's a Script Field, but the data comes from a REST API.
https://docs.adaptavist.com/sr4js/8.35.0/features/script-fields/built-in-script-fields/custom-picker
It works well as is, so I would like to know if we could plug a Json interface rather than using a REST API interface.
We are working with :
JIRA - 9.12.1
Adaptavist ScriptRunner for JIRA - 8.35.0
My skill level in JIRA/ScriptRunner/JAVA/Groovy is novice.
Thanks,
JF