glab(1)

πŸ’… glab mr note list β€” straight from the glab(1) manual πŸ’…

🌸 NAME 🌸

Okay bestie, glab-mr-note-list is here to list merge request discussions. (EXPERIMENTAL) β€” yes, the whole thing is experimental, more on that below. 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

glab mr note list [ | ] [flags]

✨ DESCRIPTION ✨

Okay so this command fetches and displays merge request discussions. That’s the main character job. πŸ’…

Human-readable output shows an eight-character prefix for each non-system discussion. Use the characters before the ellipsis with glab mr note create --reply. πŸŽ€

JSON output preserves the full discussion ID in the id field of each discussion object. Extract it with:

glab mr note list -F json | jq -r '.[].id'

It supports filtering by note type, resolution state, and file path. It also supports JSON output for scripting. Script girlies stay winning, no cap. πŸ¦‹

EXPERIMENTAL, bestie! 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 🌈

Also go say hi to glab-mr-note(1) πŸ‘‹πŸ’œ


Auto generated by spf13/cobra, dated Nov 2026, living in the glab(1) manual β€” byeeee πŸ«ΆπŸ’…

πŸ“¦ where this page comes from