Get Pull Request Activity
get_pull_request_activityFetch a Bitbucket pull request's activity log to track updates, comments, approvals, and change requests, with pagination for reviewing review history and comment resolution.
Instructions
Get activity log for 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) page_size: Items per page (default: 10, max recommended: 100) max_pages: Maximum pages to fetch (default: 1, max recommended: 10)
Returns:
Activity log with all events. Each entry has a type: update, comment,
approval, changes_requested (date + user) or unknown. The log is history:
a participant's current review status is participants[].state from
get_pull_request. Comment objects 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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |