# clanker ticket branch link

Link a ticket to a branch, by default the current one. Inside a Claude Code session it becomes the session's ticket.

## Usage

```bash
clanker ticket branch link [options] <id>
```

## Arguments

- `<id>`: The ticket's ID, such as WEB-31

## Options

- `--repository <owner/name>`: The repository (default: this directory's origin)
- `--branch <name>`: The branch (default: the current branch)
- `--workspace <slug>`: Workspace slug or id (default: the linked workspace)

## Examples

```bash
clanker ticket branch link WEB-31
clanker ticket branch link WEB-31 --repository acme/web --branch web-31-docs-search
```
