Getting a list of issue types

Use this request to get a list of available issue types.

GET

https://api.tracker.yandex.net/v3/issuetypes

Request format

Before making a request, get permission to access the API.

To get a list of issue types, use an HTTP GET request:

GET /v3/issuetypes
Host: api.tracker.yandex.net
Authorization: OAuth <OAuth_token>
X-Org-ID or X-Cloud-Org-ID: <organization_ID>
Headers
  • Host: Address of the node that provides the API.

  • Authorization: Authorization token about these formats:

    • OAuth <OAuth_token>: For authorization using the OAuth 2.0 protocol. Learn more

    • Bearer <IAM_token>: For authorization using an IAM token, if a Yandex Cloud Organization organization is linked to Tracker. Learn more

  • X-Org-ID or X-Cloud-Org-ID: Organization ID.

    • Use the X-Org-ID header if a Tracker organization is linked to Yandex 360 for Business.

    • Use the X-Cloud-Org-ID header if a Tracker organization is linked to Yandex Cloud Organization.

    To get the organization ID, go to AdministrationOrganizations and copy the value from the ID field.

Response format

If the request is successful, the API returns a response with code 200 OK.

The response body contains a JSON object with a list of issue types.

[
    {
    "self": "https://api.tracker.yandex.net/v3/issuetypes/1",
    "id": 1,
    "version": 1,
    "key": "task",
    "name": "Issue",
    "description": "A task that needs to be done."
    }
]
Response parameters
Parameter Description Data type
self Address of the API resource with information about the issue type. String
id Unique ID of the issue type in Yandex Tracker. Number
version Version of the issue type. Number
key Key of the issue type. String
name Display name of the issue type. String
description Description of the issue type. String
deleted This flag indicates that the issue type was deleted:
  • true: The issue type was deleted.
  • This parameter is omitted if the issue type wasn't deleted.
Boolean
401
The user is not authorized. Make sure that actions described in the API access section are performed.
403
You are not authorized to perform this action. You can check what rights you have in the Tracker interface. The same rights are required to perform an action via the API and interface.
404
The requested object was not found. You may have specified an invalid object ID or key.