List issue types for an organization
GET
/orgs/{org}/issue-types
Lists all issue types for an organization. OAuth app tokens and personal access tokens (classic) need the read:org scope to use this endpoint.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” org
required
string
The organization name. The name is not case sensitive.
Responses
Section titled “ Responses ”Response
Media type application/json
Array<object>
Issue Type The type assigned to the issue. This is only present for issues in repositories where issue types are supported.
object
id
required
The unique identifier of the issue type.
integer
node_id
required
The node identifier of the issue type.
string
name
required
The name of the issue type.
string
description
required
The description of the issue type.
string
color
The color of the issue type.
string
created_at
The time the issue type created.
string format: date-time
updated_at
The time the issue type last updated.
string format: date-time
is_enabled
The enabled state of the issue type.
boolean
Examples
Example default
[ { "id": 410, "node_id": "IT_kwDNAd3NAZo", "name": "Task", "description": "A specific piece of work", "created_at": "2024-12-11T14:39:09Z", "updated_at": "2024-12-11T14:39:09Z" }, { "id": 411, "node_id": "IT_kwDNAd3NAZs", "name": "Bug", "description": "An unexpected problem or behavior", "created_at": "2024-12-11T14:39:09Z", "updated_at": "2024-12-11T14:39:09Z" }]Resource not found
Media type application/json
Basic Error
Basic Error
object
message
string
documentation_url
string
url
string
status
string
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}