工作项状态是固定的,然后日期也固定在工作项中的特定状态。 [英] Work item state is fixed and then date is also fixed with the particular state in work item.

查看:78
本文介绍了工作项状态是固定的,然后日期也固定在工作项中的特定状态。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,

我需要制作工作项目,其中包含固定状态,当此状态到来时,应该修复具有默认状态的新列。如果一切都完成,那么日期是可以的,但我需要更改更新到当前工作项的任何内容,然后当状态固定为当前日期时,日期应覆盖
。我该如何执行它?

I need to make work item, with a state fixed in it, and when this state comes, a new column with a default state should fix. If everything is done then date is ok, but i need to change anything updated to the current work item, then the date should overwrite when the state is fixed to the current date. How can i perform it?

如果有一些命令要覆盖,或者将日期列留空以便它可以占用当前日期将非常好。请建议一个明确的方法。我目前正在使用TFS 2013,但计划升级到TFS 2015 Update 2.。

If there is some command to overwrite, or to make the date column blank so that it can take current date will be very good. Please suggest a clear way. I'm currently using TFS 2013 but planning to upgrade to TFS 2015 Update 2.

谢谢

T.Uday

推荐答案

嗨T.Uday,

Hi T.Uday,

感谢您在此发帖。

在新的工作项类型中,创建一个名为"固定日期"的新字段,然后添加WHEN规则。当状态为固定时,"固定日期"为"固定日期"。值将被更新。

In the new workitem type, create a new field called "Fixed Date" and add a WHEN rule. When the state is Fixed, the "Fixed Date" value will be updated.

<FIELD name="Fixed Date" refname="Fixed.Date" type="DateTime" >
          <WHEN field="System.State" value="Fixed" >
                   <copy from="clock"/>
          </WHEN>
</FIELD>


最好的问候

Best regards


这篇关于工作项状态是固定的,然后日期也固定在工作项中的特定状态。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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