> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Link Related Issue

> Link an issue to another issue.

## Overview

Creates a typed link from one issue to another. Relations are directed: stored on the source issue (`{id}`) and outgoing to `related_issue_id`. The same relation appears with `direction: "incoming"` when listed from the target issue.

***

## Headers

**authorization** `string` *required*

Your API key for authentication.

***

## Path Parameters

**id** `string` *required*

Internal UUID of the source issue.

***

## Body Parameters

**related\_issue\_id** `string` *required*

Internal UUID of the target issue.

**relation\_type** `string` *required*

Relationship type. Must be one of:

* `related_to`
* `blocks`
* `duplicate_of`

***

## Response

Returns `201 Created` with the new relation.

**data** `object`

**Relation fields**

**id** `string`

Internal UUID of the relation.

**org\_id** `string`

**issue\_id** `string`

Source issue UUID.

**related\_issue\_id** `string`

Target issue UUID.

**related\_triage\_id** `string`

Short identifier of the target issue (e.g. `T-1004`), denormalized for display.

**related\_title** `string`

Title of the target issue, denormalized for display.

**relation\_type** `string`

`related_to`, `blocks`, or `duplicate_of`.

**direction** `string`

Always `outgoing` on creation, since the relation lives on the source issue.

**created\_by\_id** `string | null`

User ID of the caller that created the relation.

**created\_at** `string`

**errors** `null | array`

`null` on success. Returns 404 if either issue does not exist or is not in your org.

```json Response theme={null}
{
  "data": {
    "id": "172c839b-130d-4712-a09c-b767a78542ea",
    "org_id": "f5b40b9e-bc05-4b8a-9af1-d8f6a8a3a201",
    "issue_id": "9bbe5547-d5b1-4b83-9f80-87c4af7c6b34",
    "related_issue_id": "849ee9ce-be6b-4f9c-8e55-2736aeeb579f",
    "related_triage_id": "T-1004",
    "related_title": "Caller transferred to wrong queue",
    "relation_type": "duplicate_of",
    "created_by_id": "75c5c7da-a5d6-4e26-a51e-1ae8ef2bfa4a",
    "created_at": "2026-05-07T05:28:29.358Z",
    "direction": "outgoing"
  },
  "errors": null
}
```

***

Docs for agents: [llms.txt](https://docs.bland.ai/llms.txt)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.