无法导入工作项类型定义:Microsoft.TeamFoundation.WorkItemTracking.Server.ProvisioningImportEventsCallback [英] Unable to import work item type definition: Microsoft.TeamFoundation.WorkItemTracking.Server.ProvisioningImportEventsCallback

查看:89
本文介绍了无法导入工作项类型定义:Microsoft.TeamFoundation.WorkItemTracking.Server.ProvisioningImportEventsCallback的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在网上搜索该问题的解决方案,但是没有运气.我在Visual Studio Team Services(VSTS)中有一个团队项目,该项目使用Scrum流程模板的继承副本,以便可以对单个工作项模板进行修改.

I have been searching the web for a solution to this issue with no luck. I have a team project in Visual Studio Team Services (VSTS) using an inherited copy of the scrum process template so that I can make modifications to the individual work item templates.

每次尝试导入修改的WIT时,我都会收到一个非常模糊的错误,该错误似乎只是引用了Microsoft.TeamFoundation.WorkItemTracking.Server.ProvisioningImportEventsCallback命名空间或类.

Any time I attempted to import a modified WIT I received a very vague error which appears to simply quote the Microsoft.TeamFoundation.WorkItemTracking.Server.ProvisioningImportEventsCallback namespace or class.

为了保持这种简单性,我只是导出产品积压项目WIT,然后立即将其重新导入,以确保该错误与我所做的更改无关.我还重命名了我要导入的内容,以防万一有问题覆盖现有的WIT,而这没有任何区别.我已经可以在带有Visual Studio 2013的TFS 2010中做到这一点,但是在VS 2013和VSTS 2015中,我都无法导入任何WIT修改.

In an attempt to keep this simple I am simply exporting the product backlog item WIT and then immediately re-importing it to ensure that the error is not related to a change I have made. I have also renamed what I am importing in case there was an issue overwriting the existing WIT and that made no difference. I have been able to do this with TFS 2010 with Visual Studio 2013 but in both VS 2013 and 2015 with VSTS I am not able to import any WIT modifications.

推荐答案

在TFS中,您可以使用witadmin.exe(或旧的API)来更新工作项,而VSTS则不能.

While in TFS you can use witadmin.exe (or the old API) to update work items, this does not with VSTS.

如果您使用的是继承的模板模型,则唯一的选择是使用Web界面编辑工作项.在新的Rest API中有一些与此相关的API: https://www.visualstudio.com/zh-CN/docs/integrate/api/overview

If you are on the inherited template model then your only option is to use the Web Interface to edit the work items. There is some API's for working with this in the new Rest API's: https://www.visualstudio.com/en-us/docs/integrate/api/overview

这篇关于无法导入工作项类型定义:Microsoft.TeamFoundation.WorkItemTracking.Server.ProvisioningImportEventsCallback的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆