如何解决TFS Copy测试计划错误TF237165?

Aar*_*mer 8 microsoft-test-manager visual-studio-2013 tfs2013

在Microsoft Test Manager for TFS 2013.4中,我尝试执行"克隆计划"操作并收到错误:

克隆计划链接

这是来自事件查看器的完整错误日志.

The description for Event ID 0 from source VSTTExecution cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

(mtm.exe, PID 8824, Thread 1) Exception: Microsoft.TeamFoundation.TestManagement.Client.TestManagementServerException
    Message: TF237165: Team Foundation could not update the work item because of a validation error on the server. This may happen because the work item type has been modified or destroyed, or you do not have permission to update the work item.
    Stack Trace:    at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs)
   at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
   at Microsoft.TeamFoundation.TestManagement.Client.TestManagementWebService3.BeginCloneOperation(Int32 sourcePlanId, TestPlan destinationPlan, Int32[] sourceSuiteIds, String projectName, CloneOptions options)
   at Microsoft.TeamFoundation.TestManagement.Client.TestPlanHelper.BeginCloneOperation(Int32 sourcePlanId, ITestPlan destPlan, List`1 sourceSuiteIds, String projectName, CloneOptions options)
   at Microsoft.TeamFoundation.TestManagement.Activities.CloneOperationHelper.InvokeBeginCloneOperation(ClonePlanPart part, Int32 sourceTestPlanId, List`1 sourceTestSuiteIds, ITestPlan destinationTestPlan, CloneOptions cloneOptions)
   at Microsoft.TeamFoundation.TestManagement.Activities.CloneOperationHelper.ClonePlanComplete(Object sender, ModalMessageEventArgs modalMessageEventArgs)
   at Microsoft.TeamFoundation.TestManagement.Client.WpfControls.ActivityHostControl.OnAdornerWorkComplete(Object sender, MessageButtonEventArgs eventArgs)
    BaseExceptionMessage: TF237165: Team Foundation could not update the work item because of a validation error on the server. This may happen because the work item type has been modified or destroyed, or you do not have permission to update the work item.
    InnerException: System.Web.Services.Protocols.SoapException
    InnerException Message: TF237165: Team Foundation could not update the work item because of a validation error on the server. This may happen because the work item type has been modified or destroyed, or you do not have permission to update the work item.
    InnerException Stack Trace: 
    InnerExceptionBaseExceptionMessage: TF237165: Team Foundation could not update the work item because of a validation error on the server. This may happen because the work item type has been modified or destroyed, or you do not have permission to update the work item.


the message resource is present but the message is not found in the string/message table
Run Code Online (Sandbox Code Playgroud)

我对项目集合拥有完全的管理员权限,所以我相当确定它不是权限问题,而是涉及的工作项类型已被"修改或销毁".我不确定如何跟踪这个或下一步采取什么步骤.

更新

我做了一些额外的诊断.我在我的TFS项目中创建了一个完全空的测试计划(没有相关的测试套件,测试用例,工作项......).我试图克隆计划并仍然收到相同的错误.

更新

过去,工作项已从模板迁移MSF for Agile Software Development v5.0MSF for Agile Software Development 2013.4模板中.这些工作项可能会以某种方式干扰克隆过程,如果这是问题,我会采取什么过程来清理这些旧工作项?

Moh*_*MVP 1

我认为这是一个错误,我尝试了很多解决方法,但找不到方法,我将其报告给 Microsoft connect,您可以在以下链接上与我一起投票以获得更好的响应:

https://connect.microsoft.com/VisualStudio/feedback/details/1270249/clone-test-plan- throw-microsoft-teamfoundation-testmanagement-client-testmanagementserverexception