glab mr note create supports internal notes and threads
Introduced 2026-09-29 · score 0.91
HOW TO USE IT
When reviewing a merge request, create a project-member-only note with `glab mr note create <mr-id> --message "<message>" --internal`. To add it to an existing discussion, include `--reply <discussion-id>`.
glab mr note create <mr-id> --message "<message>" --internalglab mr note create <mr-id> --reply <discussion-id> --message "<message>" --internalWHY THIS HELPS
Create an internal note or thread while reviewing a merge request from a repository workflow.
REQUIREMENTS AND LIMITATIONS
- Version: v1.120.0
- <mr-id> or <branch>: Merge request ID or branch; omit to use the current branch’s merge request.
- --message <message> / -m: Comment or note body; if omitted, the command can open an editor or read input from stdin.
- --internal: Make the note visible only to project members. For replies, fails if the target thread is public; a reply to an internal thread is internal even without this flag.
- --reply <discussion-id>: Reply to an existing discussion instead of starting a new one. Accepts a full discussion ID or a unique prefix of at least 8 characters.
- Prerequisite: Install glab and authenticate to the GitLab instance. Personal access tokens require at least the api and write_repository scopes.
FIRST-PARTY EVIDENCE
- https://gitlab.com/gitlab-org/cli/-/releases/v1.120.0
- https://docs.gitlab.com/cli/mr/note/create/
- https://docs.gitlab.com/cli/authentication/
Check the installed version and the source before using it. Entry JSON