Add Pull Request Comment
add_pull_request_commentAdd general or inline comments to Bitbucket pull requests, with support for threaded replies and draft comments.
Instructions
Add a comment to a pull request (general or inline).
Args: repo_slug: Repository slug pull_request_id: Pull request ID content: Comment content in markdown format workspace: Workspace name (optional, defaults to configured workspace) inline_path: Path to the file in the repository (for inline comments) inline_from: Line number in the old version of the file (for deleted or modified lines) inline_to: Line number in the new version of the file (for added or modified lines) pending: Whether to create this comment as a pending comment (draft state) (default: False) parent_id: ID of the comment to reply to (creates a threaded reply)
Returns: Created comment details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| pending | No | ||
| inline_to | No | ||
| parent_id | No | ||
| repo_slug | Yes | ||
| workspace | No | ||
| inline_from | No | ||
| inline_path | No | ||
| pull_request_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |