解决 Bug(状态流转)
zentao_resolve_bugResolve a ZenTao bug with a chosen resolution and build. Preview the update by default; pass confirm=true to finalize.
Instructions
把 Bug 标记为已解决。高风险:默认只预览,带 confirm=true 才真正提交。 Args: id, resolution(bydesign/duplicate/external/fixed/notrepro/postponed/willnotfix/tostory), resolvedBuild?(默认 trunk), comment?, confirm(默认 false)
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": {
"id": "<id>",
"resolution": "<resolution>"
},
"name": "zentao_resolve_bug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Bug ID | |
| comment | No | 备注 | |
| confirm | No | false=仅预览;true=真正提交 | |
| resolution | Yes | 解决方案:fixed/postponed/willnotfix/duplicate/external/notrepro/bydesign/tostory | |
| resolvedBuild | No | 解决版本,默认 trunk |