TFS Build Configuration: get all the Work Items De

2019-09-14 21:58发布

问题:

I have triggered a build using the existing TFS build definition. But after successful build I am unable to get list of Work Items which are available in the source code against which build has been done.

Let say I am going to build my current branch and it contains code check-in for 100 Work Items. Now my requirement is that code changes for how many Work Items have been done i.e. I need details of all those 100 Work Items in the build definition log files?

Please suggest what changes need to be done to get all the Work Item details in log file of successful TFS build.

I am using TFS 2013.

回答1:

When you check in pending changes, you need to add the work items in Related Work Items section. For your scenario, you can save a query for the 100 work items, select all 100 work items and drag them to the Related Work Items section, and then check in with the changes. In this way, you'll get all related work items in Associated Work Items section in your build summary :

Update a screenshot:



标签: tfs tfs2013