List issues
forgejo_list_issuesList repository issues with filters for state, labels, and full-text search. Get open, closed, or all issues, optionally filtered by labels or query.
Instructions
Lists a repository's issues. Pull requests are excluded (use forgejo_list_pull_requests).
Parameters:
owner, repo (string, optional when defaults are configured)
state ('open' | 'closed' | 'all', default 'open')
labels (string[], optional): label names, all of them required
query (string, optional): full-text search across title and body
page, limit, response_format
Returns: { total, count, page, limit, has_more, issues: [{ number, title, state, author, labels, comments, created_at, updated_at, html_url }] }
Examples:
"open issues on the CRM" -> state='open'
"closed bugs" -> state='closed', labels=['bug']
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page to fetch, 1 = first. | |
| repo | No | Repository name. Defaults to FORGEJO_DEFAULT_REPO. | |
| limit | No | Items per page (max 50). | |
| owner | No | Repository owner (user or organisation). Defaults to FORGEJO_DEFAULT_OWNER. | |
| query | No | Full-text search across title and body. | |
| state | No | State filter. | open |
| labels | No | Required label names. | |
| response_format | No | 'markdown' for a readable rendering, 'json' for the full data. | markdown |