---
metadata:
  - name: generator
    content: Diplodoc Platform v5.57.3
alternate:
  - https://sourcecraft.dev/portal/docs/en/cli-ref/src-issue-link-issue.md
  - https://sourcecraft.dev/portal/docs/ru/cli-ref/src-issue-link-issue.md
  - href: en/cli-ref/src-issue-link-issue.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://sourcecraft.dev/portal/docs/en/llms.txt

# src issue link-issue

Create a link between two issues

## Usage

`src issue link-issue <link-source> <link-target> [flags]`

### Examples

**Link issue 123 to issue 456 as related**

`src issue link-issue 123 456`

**Link issue 123 as blocking issue 456**

`src issue link-issue 123 456 --relation blocks`

**Link without notifications**

`src issue link-issue 123 456 --relation parent_of --silent`

### Flags

| Flag | Description |
| --- | --- |
| `--silent` | Create link without notifications |
| `--relation string` | Link type: related_to, parent_of, subissue_of, blocks, blocked_by, duplicates, duplicated_by (default "related_to") |

### Inherited flags

| Flag | Description |
| --- | --- |
| `--env string` | Override Sourcecraft environment (use 'src envs' to list available) |
| `--json string` | Output JSON, optionally filtered (--json or --json=field1,field2) |
| `--json-compact string` | Output compact JSON, optionally filtered |
| `-R, --repo string` | Select another repository using OWNER/REPO format |
| `-V, --verbose` | Enable debug logging output |

### Learn more

Use `src issue link-issue <subcommand> --help` for more information about a command.
