Post PR Comment
bitbucket_post_pull_request_commentPost general, reply, or inline code comments on pull requests. Supports Markdown and specifying file path and line number.
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 |
|---|---|---|---|
| line | No | Line number for inline comment | |
| text | Yes | The comment text (supports Markdown) | |
| file_path | No | File path for inline comment | |
| line_type | No | ADDED, REMOVED, or CONTEXT for inline comments | |
| parent_id | No | Parent comment ID to reply to | |
| project_key | Yes | The project key | |
| pull_request_id | Yes | The pull request ID number | |
| repository_slug | Yes | The repository slug |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |