Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

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 Bramhall 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