Question

In TFS whats the easiest way of linking a backlog item to a large number of other backlog items, without doing them one at a time?

I do not have access to the underlying database so am unable to write a query to do it.

Was it helpful?

Solution

I'd stay away from the SQL Query. Instead, I'd either use the API or Web Services. Here's an example API call to retrieve and edit a work item:

http://msdn.microsoft.com/en-us/library/bb130323.aspx

You could modify that to add the links. Would be much safer, easier, and much more supported than going directly to the database.

OTHER TIPS

I put together a GUI tool that helps do this.

It is called WI Assistant.

It can be found here: http://wiassistant.codeplex.com/

Depends on your definition of easy, but you could write a SQL Update linking the backlog item(s) to the correct backlog items.

(If there is no field in the backlog item to connect it to another backlog item, you would have to extend backlog item and the views showing them yourself)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top