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

Rest API to update the custom field option in Jira

Nikhil Patil May 15, 2024

We want to add the value/option in the already created custom field ‘Office code’.
For e.g., We are having a custom field named ‘Office code’ (Field type : Single list single choice ) in which the office code are present let say - A,B,C and D are the options/offices present in the office code custom field and we want to add 2 more options (E and F) in that custom filed . As of now, we are adding the office code manually. i.e., Path → Administrator → Issues → Custom field → Office code → Edit → Add value → Done.

But instead of manually adding the options to the custom field(office code) we need to add options using Jira API.

Please help us with API details on how to update the options in a custom field.

1 answer

0 votes
Marc Koppelaar - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 15, 2024

Hi @Nikhil Patil 

The API detail to update or add custom field options can be found here:

put custom field options 

Nikhil Patil May 15, 2024

Hello Marc,

Thanks for your prompt response.

We are using Jira service management (JSM) data center version 5.4.15.

Kindly let us know that the above API are applicable for JSM data center version.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events