在TFS中克隆事件时,如何识别哪一个是父事件? [英] When cloning incidents in TFS, how to identify which one is the parent incident?

查看:78
本文介绍了在TFS中克隆事件时,如何识别哪一个是父事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在克隆TFS事件时,手动创建的任务不会复制到新创建的事件中。  我正在尝试使用代码实现相同的目标。

While cloning TFS incidents, the manually created tasks dont get copied in the newly created incident.  I am trying to achieve the same, using the code.

我检查新创建的事件中的相关事件,并获取原始的所有任务(父/相关)事件并克隆新事件(子事件)中的任务。

I check for the Related Incidents in the newly created incident, and get all the tasks of the Original(Parent/Related) incident and clone the tasks in the New(Child) incident.

由于事件之间没有父子关系,所有事件都将属于"相关"关系。

Since there is no Parent-Child relation between the incidents, all the incidents would come under the 'Related' relationship.

因此,如果有多个事件与任何事件(原始事件或新事件)相关,他们的任务也会被复制。 

So, if there are multiple incidents related to any of the incidents (original  or new), their tasks also get copied. 

是有一种方法可以识别直接的父事件,即从中克隆新创建的事件的事件。

Is there a way to identify the immediate parent incident, i.e., the incident from which the new created incident has been cloned.

推荐答案

嗨!

TFS 2015 Up3添加评论"从WorkItem XXXX复制"到新工作项目 如果您创建克隆。

TFS 2015 Up3 adds comment "Copied from WorkItem XXXX" to new work item  if you create clone.


这篇关于在TFS中克隆事件时,如何识别哪一个是父事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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