VSO Create Work Item on Failure - 无法打开工作项

VSO Create Work Item on Failure - work item cannot be opened

我对 Visual Studio 在线有疑问。我启用了自动构建,并选中了 Create Work Item on Failure 选项。但是,如果构建失败,则无法打开新创建的工作项。

如果我从通知电子邮件中单击 link 或尝试通过 ID 查找它,页面会显示以下错误消息:

Invalid argument value. Parameter name: typeNames

刷新几次后,此错误信息变为

Unknown server error

虽然我可以通过查询找到创建的工作项,但我仍然无法打开它们,我只看到一个空白页面或上述错误之一。

如果尝试编辑工作项(Edit selected work item(s)... 选项),我会在弹出窗口中看到:

k/<.error@https://myaccount.visualstudio.com/_static/tfs/20160209T154641/_scripts/TFS/min/corejs?v=MIkPf9V9olbPKZDYhX0CnlVPFxxBqIzzD-zEJlJxbwk1:22:618
ur</n.prototype.beginGetWorkItemTypes/h@https://myaccount.visualstudio.com/_static/tfs/20160209T154641/_scripts/TFS/min/WorkItemTrackingJsCore?v=jVPYRLgy_xKN2NuFBC6W2evM9wo5OpfnDilaHhA5pDs1:22:41311
nt@https://myaccount.visualstudio.com/_static/tfs/20160209T154641/_scripts/TFS/min/corejs?v=MIkPf9V9olbPKZDYhX0CnlVPFxxBqIzzD-zEJlJxbwk1:22:1236
a/</<@https://myaccount.visualstudio.com/_static/tfs/20160209T154641/_scripts/TFS/min/TfsPresentationCoreJs?v=WNelSDEdKqBUSM9-eflsRAx7fn2i7dJ_n12zkAHbTOA1:22:1624
nt@https://myaccount.visualstudio.com/_static/tfs/20160209T154641/_scripts/TFS/min/TfsPresentationCoreJs?v=WNelSDEdKqBUSM9-eflsRAx7fn2i7dJ_n12zkAHbTOA1:22:893
a/<@https://myaccount.visualstudio.com/_static/tfs/20160209T154641/_scripts/TFS/min/TfsPresentationCoreJs?v=WNelSDEdKqBUSM9-eflsRAx7fn2i7dJ_n12zkAHbTOA1:22:1263
i.Callbacks/l@https://myaccount.visualstudio.com/_static/tfs/20160209T154641/_scripts/TFS/min/basejs:14:35816
i.Callbacks/s.fireWith@https://myaccount.visualstudio.com/_static/tfs/20160209T154641/_scripts/TFS/min/basejs:14:36641
w@https://myaccount.visualstudio.com/_static/tfs/20160209T154641/_scripts/TFS/min/basejs:14:73475
.send/t/<@https://myaccount.visualstudio.com/_static/tfs/20160209T154641/_scripts/TFS/min/basejs:14:79367
Session Id: f3cf7f05-6757-4e18-b1a4-dc9346eee712

我还注意到一件事,新创建的项目的类型不仅仅是 BugUser Story(对于其余的工作项目),而是 Microsoft.VSTS.WorkitemTypes.BugMicrosoft.VSTS.WorkitemTypes.UserStory.

我尝试了几种变体,但结果总是一样的:

有人对我可能遗漏的内容提出建议吗?

更新 我使用没有自定义的默认 Aglie Process 模板。 任何团队成员都无法打开工作项,它们都会出现相同的错误。它也发生在不同的机器/浏览器上。

此外,我在弹出窗口中添加了错误,如果我尝试编辑工作项,则会显示该错误。

此问题现已修复。详情请参考微软反馈:

In Sprint 94, a problem was inadvertently introduced, which caused the build system to create work items with an invalid value for the “work item type” field. This invalid value renders those specific work items unable to be opened at all. In Sprint 95, the issue was fixed to make sure created work items are valid. In a future sprint, we intend to ship code which will go back and fix up any invalid work items, so any historical work items affected by this issue can be opened again.