How to list / change options of a custom field with Scriptrunner

ZPS GPM January 25, 2023

Hi there!

My script queries a REST Api and retrieves some JSON data (version information of software releases). This works so far.

Now I need to use this data to refresh the possible options of a custom field (of type select list or even better a cascading select list). Users should be able to create a new bug report and chose the affected version.

But I simply can't get this part to work.

I think I have to use the OptionsManager (Atlassian Jira - Server 8.20.13 API), but I couldn't find a working example.

Can anyone help me!?

1 answer

1 accepted

1 vote
Answer accepted
ZPS GPM February 1, 2023
Michael
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 8, 2024

Hi @ZPS GPM 

Can you share the code I have the same use case and would be really helpful.

Like ZPS GPM likes this

Suggest an answer

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

Atlassian Community Events