bee pr count
Overview
Section titled “Overview”Count pull requests
Accepts the same filter flags as bee pr list.
bee pr count [flags]-
-p,--project <id> - Project ID or project key (required)
-
-R,--repo <name> - Repository name or ID (required)
-
-S,--status <name> - Status name (repeatable)
-
-a,--assignee <id> - Assignee user ID (repeatable). Use @me for yourself.
-
--issue <id> - Issue ID (repeatable)
-
--created-user <id> - Created user ID (repeatable)
-
--json <fields> - Output as JSON (optionally filter by field names, comma-separated)
-
-s,--space <hostname> - Space hostname
Examples
Section titled “Examples”Count all pull requests
bee pr count -p PROJECT -R repoCount open pull requests
bee pr count -p PROJECT -R repo --status openOutput as JSON
bee pr count -p PROJECT -R repo --jsonEnvironment 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