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.
×Hello,
All i am trying to Create a Script Rest Endpoint in scriptrunner that will update options of a multi select and single select custom field. The goal here is to be able to do this via the rest and without having to provide users who should update the custom field option with admin privileges.
Please assist.
I looked into this but still not sure how to go about updating the options of the custom field
https://scriptrunner.adaptavist.com/latest/jira/rest-endpoints.html?utm_source=product-help
Did you manage to do it please?
I am also interested in this functionality.
Thanks!
Camille
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @fjodors i appreciate you taking the time to get back to me on this.
I have seen these already but these refer to how to update a custom field within an issue.
What i am trying to achieve is update the options value of a custom field in the custom field itself
See attached screenshot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Have you tried OptionsManager and OptionsService interfaces?
There are some methods for update/set customfield's options, I think these methods could be suitable
https://docs.atlassian.com/software/jira/docs/api/8.1.0/com/atlassian/jira/issue/customfields/manager/OptionsService.html
https://docs.atlassian.com/software/jira/docs/api/8.1.0/com/atlassian/jira/issue/customfields/manager/OptionsManager.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.