bb_approve_pr
Approves Bitbucket pull requests directly using the specified repository and pull request ID. Confirm readiness for merge with user approval and receive a Markdown-formatted confirmation.
Instructions
Approves a pull request in a repository (repoSlug
) identified by pullRequestId
. If workspaceSlug
is not provided, the system will use your default workspace. This marks the pull request as approved by the current user, indicating that the changes are ready for merge (pending any other required approvals or checks). Returns an approval confirmation as formatted Markdown. Requires Bitbucket credentials with appropriate permissions to be configured.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
pullRequestId | Yes | Pull request ID to approve. Example: 123 | |
repoSlug | Yes | Repository slug containing the pull request. This must be a valid repository in the specified workspace. Example: "project-api" | |
workspaceSlug | No | Workspace slug containing the repository. If not provided, the system will use your default workspace (either configured via BITBUCKET_DEFAULT_WORKSPACE or the first workspace in your account). Example: "myteam" |