add_pull_request_comment
Add comments to pull requests including inline file comments and threaded replies, with optional blocker severity for tasks.
Instructions
Add a comment to a pull request. Supports general, inline (on a file/line), and reply comments.
Use severity='BLOCKER' to create a task/blocker comment.
Args: project_key: The project key. repo_slug: The repository slug. pr_id: The pull request ID. text: The comment text/body. severity: Optional severity - 'NORMAL' or 'BLOCKER' (creates a task). parent_comment_id: Optional parent comment ID to create a reply thread. file_path: Optional file path for an inline comment. line: Optional line number for an inline comment. line_type: Line type for inline comment: 'ADDED', 'REMOVED', or 'CONTEXT'. file_type: File type for inline comment: 'FROM' (old) or 'TO' (new).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_key | Yes | ||
| repo_slug | Yes | ||
| pr_id | Yes | ||
| text | Yes | ||
| severity | No | ||
| parent_comment_id | No | ||
| file_path | No | ||
| line | No | ||
| line_type | No | ||
| file_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |