“[我]"TFS 2013 中自定义字段警报的变量 [英] "[Me]" variable for custom field alerts in TFS 2013

查看:30
本文介绍了“[我]"TFS 2013 中自定义字段警报的变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 TFS 中添加了一个自定义字段 (Test Prime).因为我想要一个有效的 TFS 用户的下拉列表,我复制了分配给控件 (String, Dimension, ALLOWEXISTINGVALUE, VALIDUSER, and SYNCNAMECHANGES) 的设置.我希望能够设置在以下情况下触发的警报:

I added a custom field (Test Prime) in TFS. Since I wanted a drop down of valid TFS users, I copied the setup of the Assigned To control (String, Dimension, ALLOWEXISTINGVALUE, VALIDUSER, and SYNCNAMECHANGES). I want to be able to set up an alert triggered when:

Test Prime Changes to [Me] or Test Prime Changes from [Me]

但是[Me]"或@Me"似乎没有抓住当前用户.它在分配给的下拉菜单下,所以我不明白为什么我无法访问这个变量.是不是因为这是针对非核心领域而[Me] 仅适用于核心领域?如果是,是否有解决方法,因为我找不到任何方法.

but "[Me]" or "@Me" does not seem to grab the current user. It's under the drop down menu of Assigned To so I don't see why I can't get access to this variable. Is it because this is for a non-core field and [Me] is only available for core fields? If yes, is there a workaround because I haven't been able to find any.

推荐答案

  1. 在自定义字段定义中设置 syncnamechanges="true".如果无法上传工作项模板,请使用 witadmin 工具更新 syncnamechanges 属性.
  2. 在警报规则中,使用 @@MyDisplayName@@ 占位符代替 [Me]@Me.
  1. set the syncnamechanges="true" in the custom field definition. If the workitem template cannot be uploaded, use the witadmin tool to update the syncnamechanges attribute.
  2. in the alert rule, use @@MyDisplayName@@ placeholder instead of [Me] or @Me.

这篇关于“[我]"TFS 2013 中自定义字段警报的变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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