Get transitions

Use this request to get a list of possible transitions for an issue. The issue is selected by its ID or key.

Request format

To get a list of possible transitions, use an HTTP GET request:

GET /v2/issues/<issue-id>/transitions?
Host: https://api.tracker.yandex.net
Authorization: OAuth <OAuth token>
X-Org-Id: <organization ID>
Request parameters
<issue-id>
Issue ID or key.

Getting a list of possible transitions:

  • Uses the HTTP GET method.

GET /v2/issues/JUNE-3/transitions HTTP/1.1
Host: https://api.tracker.yandex.net
Authorization: OAuth <OAuth token>
X-Org-Id: <organization ID>
Cache-Control: no-cache

Response format

[
    {
        "id": "resolve",
        "self": "https://api.tracker.yandex.net/v2/issues/JUNE-2/transitions/resolve",
        "display": "Resolve",
        "to": {
            "self": "https://api.tracker.yandex.net/v2/statuses/1",
            "id": "1",
            "key": "open",
            "display": "Open"
        }
    },
    ...
]
Response parameters
Parameter Description Data type
id

Transition ID.

String.

self

Reference to the transition.

String.

display

The display name of the transition. Corresponds to the button name in the Tracker interface.

String.

to

Object with information about the issue's new status.

Object.

Fields for the to object
self

A reference to the status.

String.

id

The status ID.

String.

key

The status key.

String.

display

Display name of the status.

String.

Parameter Description Data type
id

Transition ID.

String.

self

Reference to the transition.

String.

display

The display name of the transition. Corresponds to the button name in the Tracker interface.

String.

to

Object with information about the issue's new status.

Object.

Fields for the to object
self

A reference to the status.

String.

id

The status ID.

String.

key

The status key.

String.

display

Display name of the status.

String.

Possible response codes

200
The request was successful.
404
The requested object was not found. You might have entered an incorrect object ID or key value.