Sample - GitHub REST API
GET/orgs/{org}/issue-types

List issue types for an organization

Lists all issue types for an organization. OAuth app tokens and personal access tokens (classic) need the read:org scope to use this endpoint.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter
orgstringrequired
The organization name. The name is not case sensitive.

2 status codes
200Response
idintegerrequired
The unique identifier of the issue type.
node_idstringrequired
The node identifier of the issue type.
namestringrequired
The name of the issue type.
descriptionstringrequired
The description of the issue type.
colorstringoptional
The color of the issue type.
Allowed:graybluegreenyelloworangeredpinkpurple
created_atstringoptional
The time the issue type created.
updated_atstringoptional
The time the issue type last updated.
is_enabledbooleanoptional
The enabled state of the issue type.
404Resource not found
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 404 is returned: Resource not found.