Get Pull Request Comments
get_pull_request_commentsRetrieve comments from a Bitbucket pull request with pagination and optional filtering for unresolved comments, including resolution status.
Instructions
List comments on a pull request with pagination support.
Args: repo_slug: Repository slug pull_request_id: Pull request ID workspace: Workspace name (optional, defaults to configured workspace) unresolved_only: If true, returns only unresolved comments (default: False) page_size: Items per page (default: 10, max recommended: 100) max_pages: Maximum pages to fetch (default: 1, max recommended: 10)
Returns: List of comments enriched with resolution status: - is_resolved (bool): True if comment is resolved - resolved_by (string or null): User display name who resolved the comment - resolved_on (string or null): Timestamp when comment was resolved
Note: Fetching more than 10 pages or 300 items will trigger a warning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_pages | No | ||
| page_size | No | ||
| repo_slug | Yes | ||
| workspace | No | ||
| pull_request_id | Yes | ||
| unresolved_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |