Update Version
update_versionChange an existing MantisBT project version's fields, including name, description, release status, and date. Renaming the version also updates issues that reference it.
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, or use release_version, which does both.
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 |
|---|---|---|---|
| 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_versions to discover version IDs | |
| description | No | New version description |