Reputation: 121
I am using TFS 2010.
Is it possible to aggregate changeset associations/links from child work items to a parent work item, so that (for example) a requirement gets automatically linked/associated to all the changesets linked to its child tasks?
I had an impression and I was expecting that probably TFS Build service will automatically do this job. But now as I trialed with TFS Build, it does not seems to be doing anything for rolling up (and aggregating) changeset associations from child work items to parent work items. I think it is only associating the new/recent changesets to the current build.
Upvotes: 1
Views: 1381
Reputation: 8544
Here is an excellent article by B.Hodges, that depicts how you can retrieve the connection between work items & changesets under a given source control path, by using the ILinking
service.
You could use this example as a basis in order to build a custom tool that gets your job done. To my best knowledge there isn't such tool available, so I think your best bet is to implement what you need with TFS-SDK.
The excellent tool proposed by @KMoraz aggregates relations solely within context of WorkItems, so you 'd be missing the changeset-part.
Upvotes: 0
Reputation: 14164
Try TFS Aggregator
Upvotes: 1
Reputation: 1351
The linking of the workitems to the changesets and builds are stored in the relational warehouse database. You can create a query to retrieve the information.
This MSDN page shows how the builds link to the changesets and then to the work items.
http://msdn.microsoft.com/en-us/library/ms244691.aspx
Upvotes: 0