bb_update_pr
Modify an existing pull request in a Bitbucket repository by updating its title and/or description. Supports Markdown formatting for descriptions and requires repository and pull request details.
Instructions
Updates an existing pull request in a repository (repoSlug) identified by pullRequestId. If workspaceSlug is not provided, the system will use your default workspace. You can update the title and/or description fields. At least one field must be provided. The description parameter accepts Markdown-formatted text. Returns the updated pull request details as formatted Markdown. Requires Bitbucket credentials with write permissions to be configured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | Updated description for the pull request in Markdown format. Supports standard Markdown syntax including headings, lists, code blocks, and links. | |
| pullRequestId | Yes | Pull request ID to update. Example: 123 | |
| repoSlug | Yes | Repository slug containing the pull request. This must be a valid repository in the specified workspace. Example: "project-api" | |
| title | No | Updated title for the pull request. Example: "Updated Feature Implementation" | |
| 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" |