index > Team Foundation Server - Reporting > Simple query to find work items resolved in the latest build

Simple query to find work items resolved in the latest build


I am trying to create a simple query. What I'd like is to see the list of work items (tasks) that were set to a state of 'Closed' in the latest build that was run - this could be an automated build or one that I kick off manually.

It seemed pretty straightforward to create such a query BUT the query grid does NOT have a 'Resolved In' field. It does have a 'Found In' field so this is a little confusing.

Any ideas how I can get hold of this data. This is the 'Associated Changesets' that is found at the end of the build log. I don't want to have users combing through the whole build log, which is why I am trying to implement this.
DQM

The Work Items have a field "Integration Build". This field is set by the build system if an associated changeset in that build is resolving that bug. So the bug state will be changed from Active to Resolved and this field will be set to the build number.

I'm not sure if this is what you need because it seems you want the bugs that were closed in a build. The system doesn't automatically close bugs and that is more like a manual process and out of the box there is not field that can be set as the "Closed In" build but the work item type can be customized to add that one.

Thanks.

Federico

Federico Kolliker Frers - MSFT
Ok, I now see that Tasks have the value 'Integration Build'. So that will work.

What I was looking for was to include bugs as well. And in the Bug 'Details' tab you can see the 'Resolved in Build' dropdown. This is what I want to include as well when I create a query. This field is not even present in the available fields to query.
DQM

I agree that this is going to sound confusing but the friendly name you see in the Work Item Form (in this case "Resolved in Build" for Bug and "Integration build" for Task) are actually populating the same field "Integration Build".

So, for instance, if you created a Work Item Query in your IDE and you query on Tasks and Bugs and you add "Integration Build" as one of the columns in the Query Results you will see that Tasks and Bugs both show the correct value.

Federico Kolliker Frers - MSFT
reply 4

You can use google to search for other answers

 

More Articles

Build metrics
NullReferenceException during Code Churn Calculation
Adding Data Region to existing items
ReportServer asking for username and password
custom views in TFSWarehouse
The synchronization issue of the reporting
Error when trying to display a report
Can not find any Perspective other than "Team System"
How to create a report on Work Item Links?
How the change in the data of Cube will be reflected?
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Description of WorkItems
Reporting on inforamtion in work item hi…
TF53010 An unexpected exception occured …
Cross Project Reports
Setting for URL in Reporting services
Error in Reporting
How to Remove the row which doesn't have…
"TF53010: An unexpected condition h…
error uploading reports
Create Report Problems
TFS Report Error
How to connect to Database?
Another TFS Warehouse problem...
How do I set default value for a dimensi…
No report image in Project Portal, but d…

Hot Articles

How do i modify the filter on a report
Reporting completed work per person retu…
Reporting Changeset Details
How to force Repository Refresh?
How to debug the subscription function
date current state was set
Build metrics
Passing new parameters to Report(.rdlc)
Another TFS Warehouse problem...
TF53010 An unexpected exception occured …
Report server error
Create Report Problems
Adding the Build_Type field to the TFS B…
Issues List is not working
report designer don`t find all fields

Recommend Articles

After upgrading to latest VSTS reports a…
Permissions Question with Reporting Site
How to debug the subscription function
Reporting Services Error
Error when trying to display a report
Description of WorkItems
Reuse query definition in reports ?
Scenarios With No Tasks
Failed to load adapter
Can I customize the VSTS bug report?
Improper Display in ReportViewer
How to prevent users from viewing other …
TFS and Reporting Services - Domain vs. …
How to validate parameters in the rdl it…
Another TFS Warehouse problem...