This post is for those of us that are (primarily .NET developers) that have been accustomed to using Team Foundation Server as a source coded repository and now just getting started with Git. Git is a fairly mature and an advanced source code repository with many more features than I’ll actually get into. The intent of this screen cast is to get you started with Visual Studio 2013 Git integration. Although this screen cast uses CodePlex in the demo, the process should be the same for any another Git repository e.g. TFS 2012+, GitHub.com, CodePlex, Visual Studio Online TFS, etc.
*Please configure YouTube player in Full HD for optimal viewing
For more info on CodePlex: http://codeplex.codeplex.com/wikipage?title=Using%20Git%20with%20CodePlex
Couldn’t seem to find anything on how to delete a Work Item from Team Foundation Service, anyhow, here are the steps.
- Install the latest and greatest Microsoft Visual Studio Team Foundation Server 2012 Power Tools (http://visualstudiogallery.msdn.microsoft.com/b1ef7eb2-e084-4cb8-9bc7-06c3bad9148f).
Open a Visual Studio command prompt
Use the witadmin destorywi command:
witadmin destroywi /collection:https://yourprefix.visualstudio.com/DefaultCollection /id:yourWorkItemId
Note: when you create a Team Foundation Service account, all your projects will simply reside under the default “DefaultCollection”, this applies to everyone and each account only has this as it’s one and only Project Collection, ever (team) project you create will be under the default “DefaultCollection”.
example: witadmin destroywi /collection:https://<yourprefix>.visualstudio.com//DefaultCollection /id:1523
Note: You may get a Microsoft Live Account dialog window, if you aren’t already logged into your Team Foundation Service Portal. If so, simply login as you would normally do when logging into tfs.visualstudio.com.
Answer yes, and your work item, will now be deleted.