bee pr comment
Overview
Section titled “Overview”Add a comment to a pull request
When input is piped, it is used as the body automatically.
Use --list or --edit-last for other comment operations.
bee pr comment [flags] <NUMBER>Arguments
Section titled “Arguments”NUMBER- Pull request number
-p,--project <id>- Project ID or project key (required)
-R,--repo <name>- Repository name or ID (required)
-b,--body <text>- Comment body
--notify <id>- User IDs to notify (repeatable)
--list- List comments on the pull request
--edit-last- Edit your most recent comment
--json <fields>- Output as JSON (optionally filter by field names, comma-separated)
-s,--space <hostname>- Space hostname (e.g. xxx.backlog.com, or your own domain)
-y,--yes- Skip confirmation prompt
Examples
Section titled “Examples”Add a comment
bee pr comment 42 -p PROJECT -R repo -b "Looks good!"Add a comment from stdin
echo "Comment body" | bee pr comment 42 -p PROJECT -R repoList all comments
bee pr comment 42 -p PROJECT -R repo --listEdit your last comment
bee pr comment 42 -p PROJECT -R repo --edit-last -b "Updated"Environment variables
Section titled “Environment variables”BACKLOG_PROJECT- Project ID or project key (required)
BACKLOG_REPO- Repository name or ID (required)
BACKLOG_SPACE- Space hostname (e.g. xxx.backlog.com, or your own domain)
BACKLOG_API_KEY- Authenticate with an API key
BACKLOG_SPACE- Space hostname
BACKLOG_PROJECT- Default project ID or project key
BACKLOG_REPO- Default repository name