update_work_item_state
Change the status of a PingCode work item (bug, requirement, or task) by specifying a target state name like 'Completed' or 'In Progress'.
Instructions
更新工作项(缺陷/需求/任务)的状态。通过状态名称指定目标状态。
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": {
"work_item_id": "<work_item_id>",
"state_name": "<state_name>"
},
"name": "update_work_item_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| work_item_id | Yes | 工作项编号,如 LFY-2527 | |
| state_name | Yes | 目标状态名称,如 "已完成"、"进行中"、"待处理" |