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 ajqexpression.-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 eitherOWNER/REPOorGROUP/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
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms