I have a custom field that includes dropdown values options.
I would like to know how to add a new option value to drop down using API.
tnx.
Hello @Maor Avitan ,
Thanks for reaching out and looking at your account it appears that you are on the Jira Cloud platform and to add in options for for a custom field in the API there is a new endpoint avaliable for Cloud and you can use a POST to the endpoint:
POST /rest/api/3/customField/{fieldId}/option
Full details and examples on the Endpoint can be seen in the API documentation here:
However if you are using Jira Server there is only a GET option avaliable at the moment for this endpoint, and does not allow for adding in via post at this time:
And there is some further discussion on the topic at the following thread with additional options via add-ons and custom add-on development:
Regards,
Earl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.