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.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”The organization name. The name is not case sensitive.
The unique identifier of the issue field.
Request Body required
Section titled “ Request Body required ”object
Name of the issue field.
Description of the issue field.
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.
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.
object
The id of an existing option to retain or update. Omit this when creating a new option.
Name of the option.
Description of the option.
Color for the option.
Priority of the option for ordering.
Examples
Update name and description
Update the name and description of an issue field
{ "name": "Priority", "description": "Level of importance for the issue"}Update single select options
Update the options for a single select issue field
{ "name": "Status", "description": "Current status of the issue", "options": [ { "name": "Backlog", "description": "Items waiting to be prioritized", "color": "gray", "priority": 1 }, { "name": "In Progress", "description": "Currently being worked on", "color": "blue", "priority": 2 }, { "name": "Done", "description": "Completed work", "color": "green", "priority": 3 } ]}Update name only
Update only the name of an issue field
{ "name": "Updated Field Name"}Responses
Section titled “ Responses ”Response
A custom attribute defined at the organization level for attaching structured data to issues.
object
The unique identifier of the issue field.
The node identifier of the issue field.
The name of the issue field.
The description of the issue field.
The data type of the issue field.
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).
Available options for single select and multi select fields.
object
The unique identifier of the option.
The name of the option.
The description of the option.
The color of the option.
The priority of the option for ordering.
The time the option was created.
The time the option was last updated.
The time the issue field was created.
The time the issue field was last updated.
Examples
{ "id": 512, "node_id": "IF_kwDNAd3NAZr", "name": "Priority", "description": "Level of importance for the issue", "data_type": "single_select", "options": [ { "id": 1, "name": "High", "description": "High priority", "color": "red", "priority": 1, "created_at": "2025-01-15T10:30:15Z", "updated_at": "2025-01-15T10:30:15Z" }, { "id": 2, "name": "Medium", "description": "Medium priority", "color": "yellow", "priority": 2, "created_at": "2025-01-15T10:30:15Z", "updated_at": "2025-01-15T10:30:15Z" }, { "id": 3, "name": "Low", "description": "Low priority", "color": "green", "priority": 3, "created_at": "2025-01-15T10:30:15Z", "updated_at": "2025-01-15T10:30:15Z" } ], "created_at": "2025-01-15T10:30:15Z", "updated_at": "2025-01-15T10:30:15Z"}Resource not found
Basic Error
object
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}Validation failed, or the endpoint has been spammed.
Validation Error Simple
object
Example generated
{ "message": "example", "documentation_url": "example", "errors": [ "example" ]}