Create an issue
forgejo_create_issueCreate a new issue on a Forgejo repository with a required title, optional markdown body, labels, and assignees.
Instructions
Opens a new issue. Write operation: requires the 'write:issue' scope.
Parameters:
owner, repo (optional when defaults are configured)
title (string, required)
body (string, optional): markdown description
labels (string[], optional): label names; unknown names are skipped and reported
assignees (string[], optional): login names
Returns: { number, title, state, html_url, unresolved_labels }
The issue is attributed to the token's owner — check with forgejo_whoami if unsure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Markdown description. | |
| repo | No | Repository name. Defaults to FORGEJO_DEFAULT_REPO. | |
| owner | No | Repository owner (user or organisation). Defaults to FORGEJO_DEFAULT_OWNER. | |
| title | Yes | Issue title. | |
| labels | No | Label names to apply. | |
| assignees | No | Logins to assign. | |
| response_format | No | 'markdown' for a readable rendering, 'json' for the full data. | markdown |