glab mr note draft list
List your pending review comments on a merge request. (EXPERIMENTAL)
Synopsis
Human-readable output shows the ID of each pending comment, the file and line it targets, and the discussion it replies to. Pass the ID to glab mr note draft update or glab mr note draft delete.
JSON output returns the pending comment objects as the API reports them.
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/.
glab mr note draft list [<id> | <branch>] [flags]Examples
# List your pending review comments on the current branch's merge request
glab mr note draft list
# List your pending review comments on merge request 123
glab mr note draft list 123
# List only pending comments on a specific file
glab mr note draft list 123 --file src/main.go
# Print the IDs of your pending comments
glab mr note draft list 123 -F json | jq '.[].id'
Options
--file string Show only pending diff comments on this file path.
--jq string Filter JSON output with a jq expression.
-F, --output string Format output as: text, json. (default "text")Options inherited from parent commands
-h, --help Show help for this command.
-R, --repo string Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.Was this page helpful?