【发布时间】:2013-04-23 09:31:38
【问题描述】:
我想将某些交易限制为特定用户。具体来说,我只想启用特定组用户(管理员\贡献者)来启用 WIT TRANSITION “A” to “B”。
我尝试关注these instructions。但是,当我尝试加载新的 WIT 时,出现以下错误:
Error importing work item type definition:
The 'for' attribute is invalid - The value '[Project Name]Project Administrators' is invalid according to its datatype 'http://schemas.microsoft.com/VisualStudio/2008/workitemtracking/typelib:IdentityName'- The Pattern constraint failed.
我的 WITD XML 如下:
<TRANSITION from="Integrated" to="Closed" for="[Project Name]Project Administrators">
<REASONS>
<DEFAULTREASON value="Verified Pass" />
</REASONS>
<FIELDS>
<FIELD refname="Microsoft.VSTS.Common.ClosedDate">
<SERVERDEFAULT from="clock" />
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ClosedBy">
<ALLOWEXISTINGVALUE />
<COPY from="currentuser" />
<VALIDUSER />
</FIELD>
</FIELDS>
</TRANSITION>
【问题讨论】:
-
能否请您显示用于过渡的 XML?
-
嗨 DaveShaw,
-
知道了,也将您的 XML 更新为您的问题。
-
与论坛网站不同,我们不使用“谢谢”、“感谢任何帮助”或Stack Overflow 上的签名。请参阅“Should 'Hi', 'thanks,' taglines, and salutations be removed from posts?.
标签: xml azure tfs tfs-workitem