Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delete a Test Plan in VSTS / Test Manager

Is there a way to delete a Test Plan in Visual Studio Team Services or through Microsoft Test Manager for a project hosted on Visual Studio Team Services?

Delete buttons seems to be disabled and directly deleting the work item in VSTS is blocked:

The work item 1 cannot be deleted. Test Plan work items cannot be deleted. work items cannot be deleted.

Any other way to achieve this?

like image 773
Pascal Berger Avatar asked Nov 21 '25 12:11

Pascal Berger


1 Answers

As Abhijit mentioned, you need to use witadmin destroywi command to delete the test plan. This command works for VSTS too. But you need to make sure your account has "Team Foundation Administrators" permission. You can use this command directly from "Developer Command Prompt for VS" which is installed with VS. enter image description here

like image 135
Eddie Chen - MSFT Avatar answered Nov 24 '25 05:11

Eddie Chen - MSFT