开发者

TFS 2010 Workitem auto transition

开发者 https://www.devze.com 2022-12-26 10:21 出处:网络
How can I make work item to auto tansit from new to assigned state when I populate Assigned To field.开发者_JS百科

How can I make work item to auto tansit from new to assigned state when I populate Assigned To field.开发者_JS百科 Ie. I have reported a bug so its state is new. Now I populate (select from dropdown) the Assigned To field, and I want it to automatically transit to Assigned state (Active state).

Please help.


What you want cannot be done out of the box with TFS.

However, I created an open source project called TFS Aggregator to give the support you are looking for.

You could setup an aggregation something like this:

 <AggregatorItem operationType="String" linkType="Self" workItemType="Bug">
    <Mappings>      
      <Mapping targetValue="Assigned" inclusive="Or">
        <SourceValue>New</SourceValue>
      </Mapping>
    </Mappings>
    <Conditions>
      <Condition leftField="Assigned To" operator="NotEqualTo" rightValue=""/>
      <Condition leftField="State" operator="NotEqualTo" rightValue="Removed"/>
      <Condition leftField="State" operator="NotEqualTo" rightValue="Done"/>
      <Condition leftField="State" operator="NotEqualTo" rightValue="Ready For Test"/>
  <Condition leftField="State" operator="NotEqualTo" rightValue="In Progress"/>
    </Conditions>
    <TargetItem name="State"/>
    <SourceItem name="State"/>
  </AggregatorItem>

That should move your bug to Assigned from New.


As already written this is not possible using TFS out-of-the-bos. But you can use TFS ASAP to automate your work items. Further you can also aggregate numbers e.g. efforts and much more...

0

精彩评论

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