コンテンツにスキップ

bee pr create

Create a pull request

Omitted required fields will be prompted interactively.

Terminal window
bee pr create [flags]
-p , --project <id>
Project ID or project key (required)
-R , --repo <name>
Repository name or ID (required)
--base <branch>
Base branch name
--head <branch>
Head branch name
-t , --title <text>
Pull request title
-b , --body <text>
Pull request description
-a , --assignee <id>
Assignee user ID. Use @me for yourself.
--issue <key>
Related issue ID or issue key
--notify <id>
User IDs to notify (repeatable)
--attachment <id>
Attachment IDs (repeatable)
--json <fields>
Output as JSON (optionally filter by field names, comma-separated)
-s , --space <hostname>
Space hostname

Create a pull request

Terminal window
bee pr create -p PROJECT -R repo --base main --head feature -t "Add login" -b "Details"

Create a pull request assigned to yourself

Terminal window
bee pr create -p PROJECT -R repo --base main --head feature -t "Title" -b "Desc" --assignee @me

Create a pull request linked to an issue

Terminal window
bee pr create -p PROJECT -R repo --base main --head feature -t "Title" -b "Desc" --issue 123
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