We use TFS2015.3. We are trying to generate a report[SSRS] to list the Test Results linked to a Workitem. We checked in these Tables to get the linked items: FactWorkItemTestResult, DimTestResult, DimTestResultAttributes, FactTestResult, DimTestRun in the Warehouse DB. But we could not find the linked workitem. Can you please help us to get a way to fetch the Test Results linked to a workitem?
Regards,
Chirag DS
You may missed the DimWorkItem table. Please refer to Work Item Test Result tables for details.
You can query for data about work items that are linked to test results by using FactWorkItemTestResult and the associated dimension tables.
FactWorkItemTestResult is associated with the following dimension tables:
- DimTeamProject
- DimTestResult
- DimWorkItem
Besides, you can also fetch the test results whick linked to a workitem via REST API ( Get a test result ):
eg:
GET http://SERVER:8080/tfs/Collection/0418Scrum/_apis/test/Runs/132/Results/100000?detailsToInclude=WorkItems
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.