microsoft / azure-devops-dotnet-samples

.NET/C# samples for integrating with Azure DevOps Services and Azure DevOps Server
https://docs.microsoft.com/azure/devops/integrate
MIT License
523 stars 517 forks source link

How to create a specific work item (Bug) for each failed test case in Azure DevOps pipelines #285

Open vishnuprakash9845 opened 4 years ago

vishnuprakash9845 commented 4 years ago

Its not an Issue but need help for the problem

I'm using VS Test task for automated testing as part of my release pipeline in Azure DevOps. In build pipeline, there is option to create a bug if whole build fails as part of definition. I do not see that in release definition.

But i'm curious to find, if i have 5 test cases in a test suite and 2 test cases got failed and 3 test cases got passed. So is there any way to create a work item (bug) for only each of the failed test cases as part of release pipeline.

Please suggest me if that option is available.