bb_reject_pr
Request changes on a Bitbucket pull request by marking it as requiring updates. Use workspaceSlug, repoSlug, and pullRequestId to specify the PR. Returns a rejection confirmation in Markdown. Requires Bitbucket credentials with necessary permissions.
Instructions
Requests changes on 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 requiring changes by the current user, indicating that the author should address feedback before the pull request can be merged. Returns a rejection 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 request changes on. 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" |