add_comment
Post comments, replies, inline code annotations, or blocker tasks on Bitbucket Server pull requests.
Instructions
Add a comment (general, reply, inline, or blocker task) to a pull request in Bitbucket Server
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The content of the comment | |
| anchor | No | Optional anchoring information for an inline/code comment | |
| parentId | No | Optional ID of a parent comment to reply to (threaded comment) | |
| repoSlug | Yes | The repository slug | |
| severity | No | Optional comment severity. Use 'BLOCKER' to create a task, 'NORMAL' for a standard comment | |
| projectKey | Yes | The project key (e.g., PROJ) | |
| pullRequestId | Yes | The pull request ID |