glab(1)

NAME
glab-mr-note-list - List merge request discussions. (EXPERIMENTAL)

SYNOPSIS
glab mr note list [ | ] [flags]

DESCRIPTION
Fetches and displays merge request discussions.

Uses the same output format as glab mr view --comments. Supports filtering by note type, resolution state, and file path. Supports JSON output for scripting.

This feature is an experiment and is not ready for production use. It might be unstable or removed at any time. For more information, see https://docs.gitlab.com/policy/development_stages_support/.

OPTIONS
--file=""
    Show only diff notes on this file path.

--jq=""
    Filter JSON output with a jq expression.

-F, --output="text"
    Format output as: text, json.

--state="all"
    Resolution state: all, resolved, unresolved.

-t, --type="all"
    Note type: all, general, diff, system.

OPTIONS INHERITED FROM PARENT COMMANDS
-h, --help[=false]
    Show help for this command.

-R, --repo=""
    Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

EXAMPLE
    # List all discussions on the current branch's MR
    glab mr note list
    # List diff comments only
    glab mr note list --type diff
    # List unresolved discussions
    glab mr note list --state unresolved
    # List discussions on a specific file
    glab mr note list --file src/main.go
    # JSON output for scripting
    glab mr note list -F json | jq '.[].notes[].body'
    # List discussions on MR 123
    glab mr note list 123

SEE ALSO
glab-mr-note(1)