【发布时间】:2018-03-01 15:11:58
【问题描述】:
嗨,我正在使用 VSTS 测试管理 APIS 来更新测试结果。
第一个 iam 使用 {collection name}/{projectname}/_apis/test/runs/{result id}/results?api-version=2.0-preview
带有 JSON 值
[{"testResult":{"id":100000},"testCase":{"id":417},"priority":1,"outcome":"Failed","testPoint":{"id":51},"state":"Completed ","associatedWorkItems":[452]}]
突然一切正常,它会更新测试结果,但工作项错误与测试结果无关。
当我使用 3.0 预览版时
[{"id":100000,"outcome":"Failed","state":"Completed ","associatedBugs":[199,200]}]
还是不行
我用错了什么。
【问题讨论】:
标签: azure-devops azure-devops-rest-api