Submit Batch Review
submit_pull_request_batch_reviewSubmit a batch review on a pull request by posting multiple inline or general comments, then approve, request changes, or comment only.
Instructions
Submit a batch review on a pull request: post multiple comments and optionally approve or request changes.
Note: Bitbucket API does not support pending/draft comments in batch. Each comment is posted immediately.
Args: repo_slug: Repository slug pull_request_id: Pull request ID comments: List of comment objects. Each comment has: - content (str, required): Comment text in markdown - inline (dict, optional): For inline comments: {"path": str, "to": int, "from": int} review_action: Action after posting comments: "approve", "request_changes", or "comment_only" (default: "comment_only") review_message: General review message posted as a top-level comment (optional) workspace: Workspace name (optional, defaults to configured workspace)
Returns: Summary with comments_posted count, action taken, and PR details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comments | Yes | ||
| repo_slug | Yes | ||
| workspace | No | ||
| review_action | No | comment_only | |
| review_message | No | ||
| pull_request_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |