Team System Developer Center > Visual Studio Team System Forums > Team Foundation Server - Work Item Tracking > Destroywitd - You cannot destroy a work item type that is being used. Used where?
Ask a questionAsk a question
 

AnswerDestroywitd - You cannot destroy a work item type that is being used. Used where?

  • Wednesday, November 04, 2009 10:42 AMFeroc Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hey,

    I just try to set up a new Team Project. I've created some WITDs and imported them and deleted WITDs we don't need. But one WITD doesn't want to get deleted: User Story.

    What I do:
    witadmin.exe destroywitd /collection:"http://ourserver:8080/tfs/DefaultCollection" /p:"Concept Project" /n:"User Story"
    Are you sure you want to destroy the User Story work item type as well as its 0 work item(s)? This action is not recoverable. (y/n)?
    Unable to destroy work item type User Story
    TF237055: You cannot destroy a work item type that is being used. Verify that the work item type is not being used in any categories.
    Operation failed.


    There is no User Story in this Team Project (there is in another one, but that shouldn't be the problem?). Where else could that User Story be used?

Answers

All Replies