Update Version
update_versionUpdates an existing MantisBT project version, changing only specified fields and optionally releasing it while creating a follow-up version.
Instructions
Update an existing version of a MantisBT project. Only the fields you pass are changed. Returns the updated version object.
Renaming a version also rewrites the version, target_version and fixed_in_version fields of all issues that reference it (including subprojects if versions are inherited).
Setting released=true does not change the version date — pass timestamp as well (e.g. the release date).
To release a version: released=true, timestamp=, and optionally next_version= to create the follow-up version in the same call. With next_version the response is { version: , next_version: } — or next_version_error: if creating the follow-up failed (the update itself stays in effect). Without next_version the response is the updated version object.
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 with include: ["versions"] and without inherit 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 |
|---|---|---|---|
| name | No | New version name (must be unique within the project) | |
| obsolete | No | Obsolete flag | |
| released | No | Released flag | |
| timestamp | No | Version date as ISO 8601 string, e.g. "2026-09-27" or "2026-09-27T10:00:00+02:00". Determines the order in roadmap and changelog. | |
| 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 with include: ["versions"] to discover version IDs | |
| description | No | New version description | |
| next_version | No | Only with released=true: name of a follow-up version to create as unreleased placeholder, e.g. "1.2.1". Used as-is — no automatic numbering. |