Get linked work items test findings in an Azure pipeline build

Viewed 65

In an Azure pipeline run, work items can be related to failed tests.
How can the work items related to a failed test be retrieved via de REST API?

pipeline results example

My goal is to validate all test findings (test fails) have a work item (in our case of type 'user story') linked to it.

1 Answers

Try to check the following:

  1. Runs - List. Here you can find needed runs.
  2. Results - List. Use Run Id to get results. New bugs you can find in the associatedBugs property.
Related