0
我有场我TFS Bug.xml如下面显示字段不隐藏预期
<FIELD name="Root Cause" refname="core.resolution" type="String">
<ALLOWEDVALUES expanditems="true">
<LISTITEM value="Code" />
<LISTITEM value="Working as Designed" />
<LISTITEM value="Documentation" />
<LISTITEM value="SPaG" />
<LISTITEM value="User Interface" />
<LISTITEM value="Database" />
<LISTITEM value="Test Data" />
<LISTITEM value="Duplicate" />
<LISTITEM value="Cannot Reproduce" />
<LISTITEM value="UX" />
<LISTITEM value="Environment" />
<LISTITEM value="Integration" />
</ALLOWEDVALUES>
<WHENNOT field="System.State" value="Done">
<READONLY />
</WHENNOT>
</FIELD>
但是,我的意思是,当国家:场做 ,那么只有当我的根源字段可见时,我如何修改我的XML来实现这一点?
<Column PercentWidth="33">
<Group Label="Details">
<Column PercentWidth="100">
<Control FieldName="Microsoft.VSTS.Common.Severity" Type="FieldControl" Label="Priority" LabelPosition="Left" />
<Control FieldName="System.CreatedDate" Type="FieldControl" Label="Created Date" LabelPosition="Left" />
<Control FieldName="System.CreatedBy" Type="FieldControl" Label="Created By" LabelPosition="Left" />
<Control FieldName="core.resolution" Type="FieldControl" Label="Root Cause" LabelPosition="Left" />
这会产生相同的结果,现场是在新的bug创建和所有状态可见。我是否需要重新启动TFS服务器才能生效? – symon
我在我的环境中成功测试了这个,请重新启动TFS服务器并重试。 –
@symon你在VS或TFS网页访问页面检查这个页面 –