List Issues
list_issuesRetrieve all issues for your organization in Magnet with markdown content, supporting pagination and optional previews. Uses your API key to automatically identify the organization.
Instructions
List all issues for your organization in Magnet with markdown content. The organization is determined automatically from your API key. Each issue includes a 'baseBranch' field which indicates the target branch for any pull requests related to that issue. Use previewOnly=true to get markdown previews (first 100 words) instead of full content. Supports cursor-based pagination with limit (1-100, default 50) and cursor parameters. Response includes pagination metadata with total count, hasMore flag, and nextCursor for fetching subsequent pages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of issues to return (1-100). Defaults to 50. | |
| cursor | No | Cursor for pagination. Use nextCursor from previous response to get next page. | |
| previewOnly | No | If true, returns markdown previews instead of full markdown | |
| organizationId | No | ID of the organization. Optional when using API key authentication. |