snuziale / vsts-open-in-excel

Open in Excel extension for Visual Studio Team Services
9 stars 10 forks source link

Cannot delete work item type Test Suite created using the extension Azure DevOps Open in Excel #39

Closed cbfelton closed 11 months ago

cbfelton commented 11 months ago

I used the Azure DevOps Open in Excel integration to create the Test Suite Work items that now cannot be deleted. I think this is a bug.

Steps:

  1. Create a Work Item Query
  2. Add a new line with the Work Item Type “Test Suite”
  3. Publish

image

image

cbfelton commented 11 months ago

I was able to get the suites removed using the following delete API

dev.azure.com/{organization}/{project}/_apis/test/Plans/{planId}/suites/{suiteId}?api-version=5.0

I didn’t have a Test Plan ID for these work items and passed zero “0”. Hopefully this can help others if a test suite is created using the Open in Excel integration.