Get Issue Schema
get_issue_schemaReturns valid MantisBT issue fields and enum values for severity, status, priority, resolution, and reproducibility. Use it before building select strings or setting enum fields.
Instructions
Return what is valid for issues on this MantisBT server, in one response:
fields: all field names valid for the "select" parameter of get_issue, list_issues and search_issues. Discovered from a sample issue (reflects the server's active configuration) plus fields MantisBT omits when empty (notes, attachments, relationships, …); cached with the metadata TTL. fields_source tells where they came from: "cache", "live" or "static".
enums: ID, name and (if available) localized label for severity, status, priority, resolution and reproducibility. "name" or "id" is what create_issue / update_issue accept; "canonical_name" appears on localized installations.
Call it before building a "select" string or before setting enum fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Optional project ID to scope the sample issue used for field discovery |