Skip to content

runbooks itsm classifyΒΆ

Auto-generated from runbooks itsm classify --help on 2026-05-21. Source of truth: runbooks PyPI package v1.3.22

Usage: runbooks itsm classify [OPTIONS]

  Classify OPS tickets and apply service/tier enrichment labels.

  Applies a deterministic mapping from domain keywords in existing labels to
  standardised service:* and tier:* labels. Labels are ADDITIVE ONLY β€”
  existing labels are never removed or modified.

  Authentication uses JIRA_URL, JIRA_USERNAME, JIRA_API_TOKEN env vars, or
  ~/.atlassian/credentials.json as fallback.

  Examples:     runbooks itsm classify --batch --dry-run     runbooks itsm
  classify --batch --execute     runbooks itsm classify --ticket OPS-42 --dry-
  run     runbooks itsm classify --batch --execute --output /tmp/results.csv

Options:
  --ticket OPS-NNN          Classify a single ticket by key.
  --batch                   Classify all OPS tickets missing enrichment
                            labels.
  --dry-run / --no-dry-run  Report only (default). Use --no-dry-run with
                            --execute to apply labels.  [default: dry-run]
  --execute                 Apply labels after displaying dry-run report.
  --output PATH             Export results to CSV (default: /tmp/runbooks-
                            itsm-classify-{timestamp}.csv).
  --help                    Show this message and exit.

ExamplesΒΆ