bee pr create
Overview
Section titled “Overview”Create a pull request
Omitted required fields will be prompted interactively.
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
Examples
Section titled “Examples”Create a pull request
bee pr create -p PROJECT -R repo --base main --head feature -t "Add login" -b "Details"Create a pull request assigned to yourself
bee pr create -p PROJECT -R repo --base main --head feature -t "Title" -b "Desc" --assignee @meCreate a pull request linked to an issue
bee pr create -p PROJECT -R repo --base main --head feature -t "Title" -b "Desc" --issue 123Environment variables
Section titled “Environment variables”-
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