bb_approve_pr
Approve pull requests in Bitbucket repositories by specifying the repository slug and pull request ID. Automates approval workflow, ensuring changes are ready for merge, and returns confirmation in Markdown format.
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" |