SpedySpedy Docs

Ticket Links

Create dependencies and relationships between tickets.

Ticket links define relationships between tickets -- blocking dependencies, duplicates, or general associations. When you create a BLOCKS or DUPLICATES link, the inverse link is automatically created on the target ticket.

TypeInverseDescription
RELATES_TORELATES_TOGeneral relationship (symmetric)
BLOCKSIS_BLOCKED_BYThis ticket blocks the target
IS_BLOCKED_BYBLOCKSThis ticket is blocked by the target
DUPLICATESIS_DUPLICATED_BYThis ticket duplicates the target
IS_DUPLICATED_BYDUPLICATESThis ticket is duplicated by the target
GET /api/v1/boards/{boardId}/tickets/{ticketId}/links

Example Response

{
  "data": [
    {
      "id": "lnk_abc123",
      "type": "BLOCKS",
      "targetTicket": {
        "id": "tkt_def456",
        "displayId": "WEB-10",
        "title": "Deploy new auth system"
      },
      "createdAt": "2025-03-15T14:30:00Z"
    }
  ]
}
POST /api/v1/boards/{boardId}/tickets/{ticketId}/links

Request Body

FieldTypeRequiredDescription
targetTicketIdstringYesTarget ticket ID to link to
typestringYesLink type (see table above)

Example Request

{
  "targetTicketId": "tkt_def456",
  "type": "BLOCKS"
}
DELETE /api/v1/boards/{boardId}/tickets/{ticketId}/links/{linkId}

Removes the link and its inverse. Returns 204 No Content.