Emergency: Deleting Custom Work Item Type

I played with custom workitem types and stuck in the middle. I created some workitem types that are irrelevant and they create errors everytime my team opens any workitem related interface or Team Explorer pane like "One form per Work Item"; we ignore the error and continue working; but it is annoying, undesired and some feature that VSTS must support as deleting a custom work item type if you are the TFS Administrator. I want to delete "the work item type" at all with no glue back. I deleted some unrecognized rows from SQL Database but still there they are.



Answer this question

Emergency: Deleting Custom Work Item Type

  • Dietz

    Here is a snapsshot of error:

    http://img81.imageshack.us/my.php image=errorhi0.jpg



  • Wendell G

    I found out from another team member (Sagar) that this could be due to mutliple forms getting added to one work item type.

    To fix this issue, you should try to export all the work item types in the project and look for multiple form definition. If you see any WIT definition has multiple form definitions in it then edit the WIT definition to have just one form definition and then import that WIT. Once you have removed duplicate form definition from all the WIT definitions in the database. This error should go away.

    Hope this helps!

    -Mohammad


  • pugs

    You gotta be writing that information to somewhere in the database
    How come you cannot support
    I create but I cannot delete


  • jvasher

    Look, the thing I am looking for is not this.
    I can delete any work item through my database
    The thing I am looking for is that I want to delete a "Custom Work Item TYPE"
    I want it not be viewed when I looked into Team Explorer.


  • paul_at_foobar_nu

    You are correct, we store the information in our database. Someone else might be able to help you with exact information or steps for deleting WIT - it could be a lot of work though given you need to remove all the custom fields and rules for that WIT plus deleting all the work items for that Work Item Type.


  • DavidThi808

    Are you getting the same error or a different one
  • ReneeC

    Mohammad, i tried everything related to your answer but still did not work
    By the way, there is no more than one form in workitem type definitions.
    Also, i deleted the workitems that are created from custom work items in the past
    But nope, still gives the error.
    Is there any suggestion you could make



  • seco

    You can look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=327599&SiteID=1 for information on deleting work items.

    -Mohammad


  • PeterPan1120

    Same one...


  • Michael_317

    I am sorry to say that there is no support for deleting WIT in v1.
  • Emergency: Deleting Custom Work Item Type