EaserixDocs
DevelopersAPI referenceTasksIssues

List an issue's relations

Both directions of every link on this issue. blocks is one stored row: the source is holding the target up, and the target reads that same row as blocked by. A completed or canceled blocker is returned under resolvedBlocks rather than blockedBy, and the row stays type blocks so reopening the blocker counts again. related is one row shown on both issues. duplicateOf is set when this issue is the copy. A soft-deleted other end is omitted until that issue is restored.

View as Markdown
GET
/v1/issues/{id}/relations
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/issues/497f6eca-6276-4993-bfeb-53cbbbba6f08/relations"
{  "blockedBy": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "type": "blocks",      "direction": "blocks",      "issue": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",        "number": 0,        "title": "string",        "stateId": "871bb69c-5872-42b2-88b0-72e9da663aaa",        "state": {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",          "name": "string",          "type": "backlog",          "color": "string",          "position": 0,          "description": "string",          "canDelete": true        }      }    }  ],  "blockedByTotal": 0,  "blocks": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "type": "blocks",      "direction": "blocks",      "issue": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",        "number": 0,        "title": "string",        "stateId": "871bb69c-5872-42b2-88b0-72e9da663aaa",        "state": {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",          "name": "string",          "type": "backlog",          "color": "string",          "position": 0,          "description": "string",          "canDelete": true        }      }    }  ],  "blocksTotal": 0,  "related": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "type": "blocks",      "direction": "blocks",      "issue": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",        "number": 0,        "title": "string",        "stateId": "871bb69c-5872-42b2-88b0-72e9da663aaa",        "state": {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",          "name": "string",          "type": "backlog",          "color": "string",          "position": 0,          "description": "string",          "canDelete": true        }      }    }  ],  "relatedTotal": 0,  "resolvedBlocks": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "type": "blocks",      "direction": "blocks",      "issue": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",        "number": 0,        "title": "string",        "stateId": "871bb69c-5872-42b2-88b0-72e9da663aaa",        "state": {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",          "name": "string",          "type": "backlog",          "color": "string",          "position": 0,          "description": "string",          "canDelete": true        }      }    }  ],  "resolvedBlocksTotal": 0,  "duplicateOf": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "type": "blocks",    "direction": "blocks",    "issue": {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",      "number": 0,      "title": "string",      "stateId": "871bb69c-5872-42b2-88b0-72e9da663aaa",      "state": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",        "name": "string",        "type": "backlog",        "color": "string",        "position": 0,        "description": "string",        "canDelete": true      }    }  },  "duplicates": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "type": "blocks",      "direction": "blocks",      "issue": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",        "number": 0,        "title": "string",        "stateId": "871bb69c-5872-42b2-88b0-72e9da663aaa",        "state": {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",          "name": "string",          "type": "backlog",          "color": "string",          "position": 0,          "description": "string",          "canDelete": true        }      }    }  ],  "duplicatesTotal": 0,  "truncated": true}