Comment on a pull request
post_commentPost review comments on Bitbucket pull requests, optionally inline on a specific diff line by specifying file path and line number.
Instructions
Post a comment on a pull request. Provide path and line to attach it to a specific line of the diff.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | Line number in the new version of the file, requires path | |
| path | No | File path for an inline comment | |
| content | Yes | Comment body, Markdown | |
| repo_slug | No | Repository slug, e.g. "billing-api". Defaults to BITBUCKET_REPO_SLUG. | |
| workspace | No | Bitbucket workspace ID, e.g. "acme". Defaults to BITBUCKET_WORKSPACE. | |
| pull_request_id | Yes | Pull request number |