delete_workitem_relation_record
Remove a specified relation type between two work items while preserving both items. Use this to clean up parent, child, associated, or dependency links in project management.
Instructions
[Project Management] Delete a relation between two work items without deleting either work item.
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": {
"organizationId": "<organizationId>",
"workItemId": "<workItemId>",
"relatedWorkItemId": "<relatedWorkItemId>",
"relationType": "<relationType>"
},
"name": "delete_workitem_relation_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operatorId | No | 操作者用户ID;使用个人访问令牌时该参数无效 | |
| workItemId | Yes | 源工作项唯一标识 | |
| relationType | Yes | 要删除的关联类型:PARENT 父项、SUB 子项、ASSOCIATED 关联项、DEPEND_ON 依赖项、DEPENDED_BY 支撑项 | |
| organizationId | Yes | 企业ID | |
| relatedWorkItemId | Yes | 要解除关联的目标工作项唯一标识 |