Post PR Comment
bitbucket_post_pull_request_commentPost comments on Bitbucket pull requests to provide feedback, reply to discussions, or add inline code annotations at specific file locations.
Instructions
Post a comment on a pull request.
Can post general comments, reply to existing comments, or add inline code comments at a specific file and line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_key | Yes | The project key | |
| repository_slug | Yes | The repository slug | |
| pull_request_id | Yes | The pull request ID number | |
| text | Yes | The comment text (supports Markdown) | |
| parent_id | No | Parent comment ID to reply to | |
| file_path | No | File path for inline comment | |
| line | No | Line number for inline comment | |
| line_type | No | ADDED, REMOVED, or CONTEXT for inline comments |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |