English 中文(简体)
TFS 2010 Workitem auto transition
原标题:

How can I make work item to auto tansit from new to assigned state when I populate Assigned To field. 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...





相关问题
Why not use TFS as a build / CI solution?

Currently our build solution is set up using TFS + MS Build scripts. TFS is also being used as a CI server. I ve seen several posts on this site telling people about other CI solutions. Are there ...

Get files from TFS under Linux [closed]

is there a free (command line) tool for linux which with I can get all files from a TFS-Repository (no Check in / Check out required - only get actual version)?

upgrading tfs 2008 sp1 to use sql server 2008

I have an instance of tfs 2008 supported by sql server 2005. I want to change the sql server machine by doing a restore based move. I also want to change the version of sql server to 2008. I know ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

TFSReg in 2010 Beta 2?

does anybody know what is the equivalent of the TFSReg.exe command-line tool in 2010 Beta 2? I cannot find it anywhere, I searched the entire Program Files tree. Was it renamed? Moved? Replaced by ...

热门标签