【发布时间】:2022-01-20 15:26:43
【问题描述】:
我正在尝试将 Servicenow 与 Azure Devops Board 集成,以使用 REST API 在工作项上创建/更新等
我成功地在工作项上创建和更新了很多东西
我找不到告诉工作项落入特定泳道的 API
如果你查看我附上的图片,它有一个默认泳道(测试)和自定义泳道......所以 H 有一个 api 将它从“ToDo”移动到“Doing”,但如果你注意到那里多个“正在做”,因为有不同的泳道,所以任何人都可以帮助解决诀窍或告诉工作项落入特定泳道的 API
我做了一些研究,发现“System.BoardLane”我确实在后期和补丁中使用了它
错误:
{
"$id": "1",
"customProperties": {
"ReferenceName": null
},
"innerException": null,
"message": "TF401326: Invalid field status 'ReadOnly' for field 'System.BoardLane'.",
"typeName": "Microsoft.TeamFoundation.WorkItemTracking.Server.WorkItemFieldInvalidException, Microsoft.TeamFoundation.WorkItemTracking.Server",
"typeKey": "WorkItemFieldInvalidException",
"errorCode": 600171,
"eventId": 3200
}
然后我使用操作“op”:“move”
错误:
{
"$id": "1",
"innerException": null,
"message": "Move/Copy is not implemented.",
"typeName": "Microsoft.VisualStudio.Services.WebApi.Patch.PatchOperationFailedException, Microsoft.VisualStudio.Services.WebApi",
"typeKey": "PatchOperationFailedException",
"errorCode": 0,
"eventId": 3000
}
【问题讨论】:
标签: azure-devops