cloudtest__BatchAddRelationsByOneCase
Batch-associates a requirement or defect with multiple test cases in Huawei Cloud CloudTest, so you can add all case relations in one request.
Instructions
[CLOUDTEST] 添加需求/缺陷和多个用例关联关系
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": {
"workitem_id": "<workitem_id>"
},
"name": "cloudtest__BatchAddRelationsByOneCase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_uri | No | 测试套id | |
| relations | No | ||
| tracker_id | No | 工作项类型id | |
| version_uri | No | 版本uri | |
| workitem_id | Yes | 需求/缺陷id | |
| project_uuid | No | 项目id | |
| add_to_iterator | No | 是否将需求添加到迭代 |