コンテンツにスキップ

bee pr comment

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.

Terminal window
bee pr comment [flags] <NUMBER>
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

Add a comment

Terminal window
bee pr comment 42 -p PROJECT -R repo -b "Looks good!"

Add a comment from stdin

Terminal window
echo "Comment body" | bee pr comment 42 -p PROJECT -R repo

List all comments

Terminal window
bee pr comment 42 -p PROJECT -R repo --list

Edit your last comment

Terminal window
bee pr comment 42 -p PROJECT -R repo --edit-last -b "Updated"
BACKLOG_PROJECT
Project ID or project key (required)
BACKLOG_REPO
Repository name or ID (required)
BACKLOG_SPACE
Space hostname
BACKLOG_API_KEY
Authenticate with an API key
BACKLOG_PROJECT
Default project ID or project key
BACKLOG_REPO
Default repository name