【发布时间】:2018-05-26 08:16:39
【问题描述】:
我使用 VSTS 和 tfs aggregator 在工作项发生一些更改时更新父字段,并且一切正常。现在我想在删除工作项时更新父字段。我得到了错误:
Exception encountered processing notification: TF26198:
The work item does not exist, or you do not have permission to access it.
Stack Trace:
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.LoadWorkItemFromRowSetInternal(Int32 rev, Nullable`1 asof, IWorkItemRowSets witem)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem..ctor(WorkItemStore store, Int32 id)
at Aggregator.Core.Facade.WorkItemRepository.GetWorkItem(Int32 workItemId)
at Aggregator.Core.EventProcessor.ProcessEvent(IRequestContext requestContext, INotification notification)
at Aggregator.WebHooks.Controllers.WorkItemController.Post(JObject payload)
当我删除 workItem 时,没有任何工作项可以通过它访问父级,但是有没有办法获取已删除的 workItem 的父级?有什么想法吗?
【问题讨论】:
标签: tfs azure-devops tfs-aggregator