---
title: "Link a ticket to another ticket"
method: PUT
path: "/tickets/{ticketId}/link"
tags: ["Ticket"]
---

# Link a ticket to another ticket

`PUT /tickets/{ticketId}/link`

Creates a bidirectional link between the ticket and `targetTicketId` and returns the updated list of
linked tickets. Linking a regular ticket to a tracker ticket also archives the regular ticket (it is now
tracked by the tracker). Calling it again for an already linked pair is a no-op.

## Path parameters

- `ticketId` string, required

## Headers

- `project` string, required

## Request body

- object
  - `targetTicketId` string, required

## Response `200`

Ok

- unknown

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/versions/6f02af3a6c47/schema)
