Release Version
release_versionMark a MantisBT version as released, set its release date, and optionally create a follow-up unreleased version in the same step.
Instructions
Mark a version as released and set its date (default: now). Optionally create a follow-up version in the same step.
The follow-up version is only created when next_version is given; its name is used as-is — no automatic numbering.
Returns { released: } plus either next_version: or next_version_error: . The two steps are separate API calls: if creating the follow-up version fails, the release itself stays in effect and the error is reported in next_version_error.
The version must belong to project_id itself: versions inherited from a parent project can only be changed via the parent's project_id (otherwise MantisBT answers "Version not found"). get_project_versions with inherit=false (the default) lists the project's own versions.
Requires the manage_project_threshold access level in the project (MantisBT default: manager).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timestamp | No | Release date as ISO 8601 string. Default: now. | |
| project_id | Yes | Numeric ID of the project the version belongs to — use list_projects to discover project IDs | |
| version_id | Yes | Numeric version ID — use get_project_versions to discover version IDs | |
| next_version | No | Name of a follow-up version to create as unreleased placeholder, e.g. "1.2.1". Omit to only release. |