Get Project Versions
get_project_versionsRetrieve all versions defined for a project. Use the returned version names when creating or updating issues to set version, target_version, or fixed_in_version. Optionally include obsolete and inherited versions.
Instructions
List all versions defined for a MantisBT project. Returns an array of version objects, each containing id, name, released (boolean), obsolete (boolean), and optionally a date field.
Use the returned version names directly when creating or updating issues via create_issue and update_issue (version, target_version, fixed_in_version fields).
By default, obsolete and inherited parent-project versions are excluded. Set obsolete=true to include deprecated versions; set inherit=true to also return versions from parent projects.
Prerequisites: obtain project_id from list_projects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Numeric project ID — use list_projects to discover project IDs | |
| obsolete | No | Include obsolete (deprecated) versions in the response. Default: false. Set to true to see all versions including those no longer actively used. | |
| inherit | No | Include versions inherited from parent projects. Default: false. Set to true for sub-projects that share versions with a parent project. |