index > Team Foundation Server - General > Mass Transitions

Mass Transitions


Mass Transitions

In our current workflow tool (i.e. Serena's TeamTrack) we have a concept of "Mass Transitions" where you can take a number of requests (e.g. 1000) and do a mass update to the work item states (or any other fields) instead of laboriously updating each work item. For example we have "Enhancement" work items that queue up in a "Code Complete" state. Once the build is deployed to QC (i.e. Test) we run the "Mass Transition" to update all work item states to "Deployed To QC." We can handle hundreds up updates with a simple "Mass Transition" and a cup of coffee.

Does Team Foundation have a similar concept?

Mac Noland




Mac
mcdonaldn
This is another bulk edit for TFS, and it can be done by exporting items to excel and changing the states. Also, we have actions feature in work item type definition which makes such operation easy from a script, and using one loop transistions can be done for different work item types with differing states and transistion rules.


http://blogs.msdn.com/narend
Naren Datha - MSFT

Two options here. Create a small utility or plug-in to do so using the objectr model or the preferred and much easier method for mass maintenance: Do it from excel.

If I need to mass maintenance a set of work items open up excel, attach to the TFS and the Team Project of interest and run a query to get the workitems and fields of interest. Then I change the field value of the first item and do the little right corner drag to apply it to all the items in the spreadsheet and then publish it back to TFS. Voila. mass update.




Principal Consultant, Magenic -- http://blogs.manicprogrammer.com/michaelruminer
Michael Ruminer

Thanks Micheal! Yep just gave the little Excel trick a try and it worked fine. Still not as easy as TeamTracks Mass Transtion report you can simply click on to run, but I think this workable.

Mac




Mac
mcdonaldn

Just out of professional curiosity how exactly does that work??? Drop me a note offline if you'd like. I'm always curious about other software and mechanism they employ to accomplish given tasks.

michaelr is my email at Magenic.com




Principal Consultant, Magenic -- http://blogs.manicprogrammer.com/michaelruminer
Michael Ruminer
We were not using TeamTrack but the PVCS Tracker application (before the Merant/Serena merger). Bulk transactions were executed as follows:
- run a query
- select all items you want to update
- select the field (only one per transaction) you want update
- select a new value for the field
- click OK
You had following options (rights protected)
- override dependent and transition field rules (great for breaking built-in rules, eg: when dropping a bunch of items that are no longer of interest without having to specify all 'normally' required fields
- disable notifications (users are not notified of the changes made)
This was a great feature we are now missing in VSTS.
The only thing we could not do, was adding a note for bulk updates.
paso

yep that is pretty much how TeamTrack works as well.

  1. Create a mass transition "report"
  2. Run report and select the requests (i.e. work items) you want to update.
  3. Put in the value of the field you want to update. E.g. State = "Deployed To Test"
  4. Run the report and you're done.

We also use it to update the "Business Description" when the technical writers want to update a number of requets (i.e. work items) with the same Business Description.

Works pretty slick.





Mac
mcdonaldn
reply 7

You can use google to search for other answers

 

More Articles

A Source control question for the product group
Availability of Team Foundation Server
Tapping into EventResult?
TeamProject Create Error : 403 Forbidden
Passing UserName/Password on Command line to TF?
Err Msg:The local file you chose to store your solution contains ...
TFS backup
Solution keeps losing SCC binding
When would I create a TFS Project
Failed Hard drive
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Replacing Labels using MSBUILD and TFS RC
Team Project Creation
Folder list loses position
How do I install Team Explorer?
Error importing one's own process-template
Team Project creates only top-level sour…
Problem adding / removing servers from t…
Build and Alerts problem.
Team Build Code Analysis Output incorrec…
Start Date field in Task work item
How to add a "Private Notes" T…
eXtreme Programming Process Template
Error message for December CTP - Error 2…
TeamFoundationServer.EnsureAuthenticated…
How to attatch a work item to multiple u…

Hot Articles

Software configuration for faster builds
TFS requirement
To Merge or a not to Merge
Path Space Branching and Builds?
Unable to map the same folder on several…
CMMI & VSTS
Publish to TS database
Difference or Properties of different st…
Add Work Item menu still loading...
TFS not seeing all accounts properly
Ability to add "State" to the …
Team Build and build event script macros
Email when build or test fails
Displaying custom build steps in the IDE…
Access SharePoint error when install TFS

Recommend Articles

How to hook build engine to get sources …
Foundation Team servers in highly distri…
Team foundation error
Customize Team Builds wizard
Team Build Error
Team Foundation
Performance Issues with Version Control
How to enable NTLM V1 in TFS?
Report using project name
TFS Source Control Remote Working
Team Build fails on 'Initializing build'…
Steps to connect to TFS
Quick Search for Work Items
Deleting a Team Build
HOWTO: Receive alert when a new bug is a…