Update PingCode Requirement Status
pingcode_update_requirement_statusUpdate a requirement's status by identifier or work item ID, with optional comment and current status protection.
Instructions
按编号或工作项 ID 修改单个需求状态。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pingcode_update_requirement_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | true 时只返回计划,不执行 PATCH。 | |
| comment | No | 可选:状态变更成功后追加评论。 | |
| stateId | No | 目标状态 ID;提供后优先于 statusName。 | |
| projectId | No | ||
| identifier | No | 工作项编号,如 PROJ-455。 | |
| statusName | No | 目标状态名称,如 挂起、已验收、打开、进行中。 | |
| workItemId | No | PingCode 工作项内部 ID。 | |
| projectIdentifier | No | ||
| expectedCurrentStatusName | No | 可选:当前状态保护条件,不匹配则拒绝更新。 |