开发者

TFS 2010 - New work item - auto select Assigned To with your Id

Is there a way to select the logged-on user for the Assigned-To field when a workitem is created.

Right now, when we create a bug, the assigned-To field is blank. The user then has to select the pers开发者_运维知识库on (most of the time, him/herself) out of the available list..

I tried this out with TFS2005 and it was working so I'm curious as to what has to be changed.


Not sure how to do it through GUI as it has been while, but in the xml, you can set it like this:

  <TRANSITIONS>
    <TRANSITION from="" to="New">
      <REASONS>
        <DEFAULTREASON value="Identified" />
      </REASONS>
      <FIELDS>
        <FIELD refname="System.AssignedTo">
          <DEFAULT from="currentuser" />
        </FIELD>
      </FIELDS>
    </TRANSITION>
    .....
  </TRANSITIONS>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜