List Issues
list_issuesFilter and paginate issues in a Bitbucket repository's issue tracker by state, kind, priority, assignee, or raw BBQL query.
Instructions
List issues in a repository's issue tracker, with filtering and pagination.
Args: repo_slug: Repository slug workspace: Workspace name (optional, defaults to configured workspace) state: Filter by state (new, open, resolved, on hold, invalid, duplicate, wontfix, closed) kind: Filter by kind (bug, enhancement, proposal, task) priority: Filter by priority (trivial, minor, major, critical, blocker) assignee: Filter by assignee uuid q: Raw BBQL query, combined with the other filters using AND (e.g. 'created_on > 2024-01-01'). Passed through verbatim (not escaped). sort: Sort field (default: -created_on for most recent first) page_size: Items per page (default: 20) max_pages: Maximum pages to fetch (default: 1, max recommended: 10) max_items: Maximum total items to fetch (default: None)
Returns: Paginated list of issues. If the repository has no issue tracker, returns {"error": "issue_tracker_disabled", ...}.
Note: Fetching more than 10 pages or 300 items will trigger a warning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | ||
| kind | No | ||
| sort | No | -created_on | |
| state | No | ||
| assignee | No | ||
| priority | No | ||
| max_items | No | ||
| max_pages | No | ||
| page_size | No | ||
| repo_slug | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |