99problems-get(1)

NAME
99problems-get - Fetch issue and pull request conversations

SYNOPSIS
99problems get [-q|--query] [-v|--verbose]... [-Q|--quiet] [-r|--repo] [--error-format] [-s|--state] [-l|--labels] [-a|--author] [-S|--since] [-m|--milestone] [-i|--id] [-p|--platform] [-I|--instance] [-u|--url] [--deployment] [-t|--type] [-f|--format] [--output-mode] [--stream] [-R|--include-review-comments] [--no-comments] [-o|--output] [-k|--token] [--account-email] [-h|--help]

DESCRIPTION
Fetch issue and pull request conversations

OPTIONS

-q, --query <QUERY>
    Full search query (same syntax as the platform's web UI search bar) e.g. "state:closed Event repo:owner/repo"

-v, --verbose
    Increase diagnostic verbosity (-v, -vv, -vvv)

-Q, --quiet
    Suppress non-error diagnostics

-r, --repo <REPO>
    Shorthand for adding "repo:owner/repo" to the query (alias: --project)

--error-format <ERROR_FORMAT> [default: text]
    Error output format
    [possible values: text, json]

-s, --state <STATE>
    Shorthand for adding "state:open|closed" to the query

-l, --labels <LABELS>
    Shorthand for comma-separated labels, e.g. "bug,enhancement"

-a, --author <AUTHOR>
    Filter by issue/PR author

-S, --since <SINCE>
    Only include items created on or after this date (YYYY-MM-DD), e.g. "2024-01-01"

-m, --milestone <MILESTONE>
    Filter by milestone title or number

-i, --id <ID>
    Fetch a single issue/PR by identifier (bypasses search)

-p, --platform <PLATFORM>
    Platform adapter to fetch from (used directly in CLI-only mode)
    [possible values: github, gitlab, jira, bitbucket]

-I, --instance <INSTANCE>
    Named instance alias from .99problems ([instances.<alias>])

-u, --url <URL>
    Override platform base URL for one-off runs

--deployment <DEPLOYMENT>
    Bitbucket deployment type (required for --platform bitbucket)
    [possible values: cloud, selfhosted]

-t, --type <KIND>
    Content type to fetch (Bitbucket supports pull requests only; omitted type defaults to pr)
    [possible values: issue, pr]

-f, --format <FORMAT>
    Output format (default: text for TTY, jsonl for piped/file output)
    [possible values: json, yaml, jsonl, ndjson, text]

--output-mode <OUTPUT_MODE>
    Output behavior mode
    [possible values: auto, batch, stream]

--stream
    Shorthand for --output-mode stream

-R, --include-review-comments
    Include pull request review comments (inline code comments)

--no-comments
    Skip fetching comments (faster, smaller output)

-o, --output <OUTPUT>
    Write output to a file (default: stdout)

-k, --token <TOKEN>
    Personal access token (overrides env var and dotfile)

--account-email <ACCOUNT_EMAIL>
    Account email used with Jira API-token basic auth

-h, --help
    Print help

EXTRA
Examples:
  99problems get --repo schemaorg/schemaorg --id 1842
  99problems get --repo github/gitignore --id 2402 --type pr --include-review-comments
  99problems get -q "repo:owner/repo state:open label:bug" --output-mode stream --format jsonl