Get Project Versions
get_project_versionsLists versions defined for a MantisBT project—excluding obsolete and inherited ones by default—so you can reference available version names when creating or updating issues.
Instructions
Deprecated: use get_project with include: ["versions"] instead — get_project_versions will be removed in 2.0.0.
List all versions defined for a MantisBT project. Returns an array of version objects, each containing id, name, released (boolean), obsolete (boolean), and timestamp (version date). To create, change, release or delete versions use create_version, update_version, release_version and delete_version.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "get_project_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inherit | No | Include versions inherited from parent projects. Default: false. Set to true for sub-projects that share versions with a parent project. | |
| obsolete | No | Include obsolete (deprecated) versions in the response. Default: false. Set to true to see all versions including those no longer actively used. | |
| project_id | Yes | Numeric project ID — use list_projects to discover project IDs |