PATCH
/orgs/{org}/issue-fields/{issue_field_id}Update issue field for an organization
Updates an issue field for an organization.
You can find out more about issue fields in Managing issue fields in an organization.
To use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and
personal access tokens (classic) need the admin:org scope to use this endpoint.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
orgstringrequired
The organization name. The name is not case sensitive.
issue_field_idintegerrequired
The unique identifier of the issue field.
namestringoptional
Name of the issue field.
descriptionstringoptional
Description of the issue field.
visibilitystringoptional
The visibility of the issue field. Can be `organization_members_only` (visible only within the organization) or `all` (visible to all users who can see issues). Only used when the visibility settings feature is enabled.
optionsarray<object>optional
Options for select fields. Only applicable when updating single_select or multi_select fields. When provided, this array **replaces** the entire existing set of options rather than adding to or updating individual options. To retain or update an existing option, include it in the array with its `id`. Options sent without an `id` are treated as new options and may cause existing options to be deleted and recreated.
200Response
idintegerrequired
The unique identifier of the issue field.
node_idstringrequired
The node identifier of the issue field.
namestringrequired
The name of the issue field.
descriptionstringoptional
The description of the issue field.
data_typestringrequired
The data type of the issue field.
visibilitystringoptional
The visibility of the issue field. Can be `organization_members_only` (visible only within the organization) or `all` (visible to all users who can see issues).
optionsarray<object>optional
Available options for single select and multi select fields.
created_atstringoptional
The time the issue field was created.
updated_atstringoptional
The time the issue field was last updated.
404Resource not found
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
422Validation failed, or the endpoint has been spammed.
messagestringrequired
documentation_urlstringrequired
errorsarray<string>optional
Error handling
A 404 is returned: Resource not found. A 422 is returned: Validation failed, or the endpoint has been spammed.