Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I update custom field options programmatically?

Skye Koch
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!
January 23, 2024

I currently maintain a custom field which frequently needs its options changed.

Is there a way to update custom field options with a script/api endpoint? I found this in the API documentation for jira cloud but not data center: The Jira Cloud platform REST API (atlassian.com)

I am using jira data center 9.6.

1 answer

0 votes
Manne Kjærby - ProProces
Atlassian Partner
January 23, 2024

Hi Skye.

 

Here a link directly to the rest api for datacenter.

https://docs.atlassian.com/software/jira/docs/api/REST/9.6.0/

 

https://developer.atlassian.com/server/ 

Under developer documentation you will find under Server, and that because it's basically the same as datacenter. The datacenter options is just enabled by the license key.

Atlassian will probably update that in the documentation sometime soon, i guess :-) 

Manne Kjærby - ProProces
Atlassian Partner
January 23, 2024

There is no rest api to do it for data center.

There a feature request for it here: https://jira.atlassian.com/browse/JRASERVER-36112

If you have a tool like scriptrunner you could create your own rest api.

You might be able to use something like this:

https://library.adaptavist.com/entity/custom-field-option-endpoint

Suggest an answer

Log in or Sign up to answer