create_workitem_relation_record
Relate two work items within a DevOps project by establishing parent-child, dependency, or associated links to clarify relationships and project structure.
Instructions
[Project Management] Relate one work item to another. Use ASSOCIATED for a normal related item without a parent-child hierarchy.
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 | 要关联的目标工作项唯一标识 |