工作项ID或唯一ID [英] Work Item ID or Unique ID

查看:149
本文介绍了工作项ID或唯一ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在使用TFS 2013.在一个字段中,我们有一个错误ID。 这是一个独特的数字,人们在处理项目时经常会参考它(例如,"你有没有处理bug 3456?")。 我知道我们获得了一个带有TFS的工作项ID(并且它是团队项目集合中唯一的
编号),有没有办法可以创建一个自定义字段,该字段采用工作项类型的第一个初始值之后附上一个唯一的ID?例如,对于一个bug,它可以是"B-3456"。或者对于任务,
可以是"T-4242"?我只是想找到一种更好的方法来组织ID号...





谢谢





解决方案

嗨!


您不能通过标准方式使用它。但是,你可以做下一步:


  1. 添加 自定义字段Custom.ID。
  2. 编写自定义应用程序查询没有ID的新项目( https://www.visualstudio。 com / en-us / docs / integrate / api / wit / wiql#get-work-items ) 和
    设置正确的ID( https://www.visualstudio.com/en-us/docs/integrate/api/wit/work-项#更新功项

I'm using TFS 2013. In one field we have a Bug ID.  It's a unique number and people often refer to it when working on projects (e.g., "Did you take care of bug 3456 yet?").  I know we get a Work Item ID with TFS (and that it is a unique number within a Team Project Collection), is there a way I can create a custom field that takes the first initial for the work item type and then attaches an the unique ID to it after? For example, for a bug it could be "B-3456" or for a task it could be "T-4242"? I'm just looking for a better way to way to organize ID numbers...

thanks


解决方案

Hi!

You cannot use that through standard way. But you may to do next:

  1. Add custom field Custom.ID.
  2. Write custom application that gets with a query new items without ID (https://www.visualstudio.com/en-us/docs/integrate/api/wit/wiql#get-work-items) and sets them right ID (https://www.visualstudio.com/en-us/docs/integrate/api/wit/work-items#update-work-items)


这篇关于工作项ID或唯一ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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