---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://sourcecraft.dev/portal/docs/en/cli-ref/src-issue-list.md
  - https://sourcecraft.dev/portal/docs/ru/cli-ref/src-issue-list.md
---
> **Documentation Index:** Fetch the complete configuration index at https://sourcecraft.dev/portal/docs/en/llms.txt

# src issue list

List Repository Issues

## Usage

`src issue list [flags]`

### Examples

**List issues in current repository**

`src issue list`

**List issues in repository foo/bar**

`src issue list -R foo/bar`

**Limit results**

`src issue list --limit 50`

**Filter by assignee**

`src issue list --assignee username`

**List issues assigned to me**

`src issue list --assignee=@me`

**JSON output**

`src issue list --json`

**JSON output, limit cols**

`src issue list --json=title,slug`

**Sort by**

`src issue list --sort created-at`

**Sort by, multiple columns (priority DESC, created at ASC)**

`src issue list --sort -priority,created_at`

**Get issues with labels backend OR devops**

`src issue list --label backend,devops`

### Flags

| Flag | Description |
| --- | --- |
| `-L, --limit int` | Maximum number of items to return (default "30") |
| `--sort string` | Sort by field (available: id, title, status, priority, assignee, author, updated-by, created-at, updated-at, milestone) |
| `--status string` | Filter by status |
| `--label string` | Filter by label |
| `--priority string` | Filter by priority |
| `--assignee string` | Filter by assignee |
| `--author string` | Filter by author |
| `--milestone string` | Filter by milestone |

### 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 list <subcommand> --help` for more information about a command.
