Update Custom Field Options
PUT {{baseUrl}}/rest/api/3/customField/:fieldId/option
Updates the options on a custom select field. Where an updated option is in use on an issue, the value on the issue is also updated. Options that are not found are ignored. A maximum of 1000 options, including sub-options of Select List (cascading) fields, can be updated per request. The options are updated on the global context of the field.
Note that this operation only works for issue field select list options created in Jira or using operations from the Issue custom field options resource, it cannot be used with issue field select list options created by Connect apps.
Permissions required: Administer Jira global permission.
Request Body
{"options"=>[{"newValue"=>"<string>", "value"=>"<string>", "cascadingOptions"=>[{"newValue"=>"<string>", "value"=>"<string>"}, {"newValue"=>"<string>", "value"=>"<string>"}]}, {"newValue"=>"<string>", "value"=>"<string>", "cascadingOptions"=>[{"newValue"=>"<string>", "value"=>"<string>"}, {"newValue"=>"<string>", "value"=>"<string>"}]}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |