开发者

List Item Sort Order - TFS Work Items

开发者 https://www.devze.com 2022-12-30 09:52 出处:网络
Is there any way to display the vaule order as the same given below in th开发者_高级运维e work item template.

Is there any way to display the vaule order as the same given below in th开发者_高级运维e work item template. When I see the template the value display order is changed. It is sorted alphabetically. Is there any way to change the sort order ?

    <ALLOWEDVALUES>
        <LISTITEM value="Pass" />
        <LISTITEM value="Fail" />
        <LISTITEM value="Blocked" />
        <LISTITEM value="N/A" />
        <LISTITEM value="Not Completed" />
        <LISTITEM value="Ready For Review" />
        <LISTITEM value="Approved" />
      </ALLOWEDVALUES>


It is not possible to change the sort order. As a workaround you could prefix your list items as a way to achieve the order you prefer.

  <ALLOWEDVALUES>
    <LISTITEM value="[1] Pass" />
    <LISTITEM value="[2] Fail" />
    <LISTITEM value="[3] Blocked" />
    <LISTITEM value="[4] N/A" />
    <LISTITEM value="[5] Not Completed" />
    <LISTITEM value="[6] Ready For Review" />
    <LISTITEM value="[7] Approved" />
  </ALLOWEDVALUES>
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号