index > Team Foundation Server - Work Item Tracking > Emergency: Deleting Custom Work Item Type

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.



Software Specialist
Ogulcank

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

-Mohammad

Mohammad Iqubal - MSFT
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.
Ogulcank
I am sorry to say that there is no support for deleting WIT in v1.
Mohammad Iqubal - MSFT
You gotta be writing that information to somewhere in the database
How come you cannot support?
I create but I cannot delete?



Software Specialist
Ogulcank

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.

Mohammad Iqubal - MSFT
Here is a snapsshot of error:

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




Software Specialist
Ogulcank

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

Mohammad Iqubal - MSFT
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?




Software Specialist
Ogulcank
Are you getting the same error or a different one?
Mohammad Iqubal - MSFT
Same one...



Software Specialist
Ogulcank
reply 11

You can use google to search for other answers

 

More Articles

How To Temporarily Disable Field Validation When Publishing Work ...
How to implement AssignTo combobox
MS project 2003 bug with autolink when outlining
TFS Work Item WebPart Authentication Failure - Work Item Metadata...
Task "WITs" from Group "WorkItemTracking" fai...
Custom Work Items
Searching work items
CreateNewWorkItem
WorkItemChangedEvent doesn't retrieve "Description"
Contains operator for WorkItem HTML fields and substrings
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Web Bug Tracking for TFS
Unable to publish new project tasks
WorkItem API problem: Cannot update Fiel…
What are the SQL queries to view and add…
Setting "CreatedBy" field prog…
How To Temporarily Disable Field Validat…
Another MS Project Integration Question
Customize Work Item to block few groups …
TF26027 error after work item import
Can a work item type be deleted in VSTS?
FROZEN rule behaviour
Work Items created in VS 2005 do not ape…
How do I change a WI type, from Scenario…
Make AreaPath field required.
Accessing work item history from API

Hot Articles

Query for attachments
Unhelpful witexport errors. What's actua…
reset work items refnames
Custom Work Items
Clarification Reg. Chaild Workitem
Problem mapping OutlineNumber
Changing transition rules, only reason t…
WorkItemLongTexts table
How to delete previously imported items …
Contains operator for WorkItem HTML fiel…
Easy question
Auto-Complete of Area and Iteration
Difference between WorkItemLatest and Wo…
Requirement Review and Review Signing(au…
create WI custom field dependencies

Recommend Articles

TF80071 connecting MPP to Team project
Auto-Complete of Area and Iteration
There is a way to change the system popu…
Work Item automated email
How The TFS publish the build numbers us…
Description query fails when trying to r…
Customized Fields on WorkItemChangeEvent
Set permission of workitem to only "…
Bulk migration best practice / API?
Removing a work item
Error in creating a work item via the we…
Customize the history tab to give more i…
"Assigned To" field
WITIMPORT: Cannot complete the operation…
Using Excel as bug template