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

# src issue add-label

Add Labels Associates one or more labels with a specific issue. Returns resulting collection.

## Usage

`src issue add-label <issue> <slug> [<slug>...] [flags]`

### Examples

**Add label**

`src issue add-label 1234 bug`

**Add multiple labels**

`src issue add-label 1234 bug enhancement`

### Flags

| Flag | Description |
| --- | --- |
| `--silent` |  |
| `--ids stringArray` |  |
| `--slugs stringArray` |  |

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