TFS & Visual Studio ALM - by Neno Loje

(formerly Team System, VSTS)

News

Recent Posts

Community

Tags

Email Notifications

VSTS Blogs

VSTS Community

My Other Blogs

German VSTS Websites

Archives

Solved: Error creating a new Test Case in VS 2010

You receive the error message:

Work item type is not valid. You must specify a valid work item type.

You cannot create a new Test Case work item

Solution:

You need to import work item categories using witadmin like this:

importcategories /collection:http://server:8080/tfs/collection /p:Project /f:categories.xml

MSDN docs: http://msdn.microsoft.com/en-us/library/dd273721.aspx

You can extract the categories.xml from the Process Template definition.

(Thanks to Ruiz Yi from MSDN Subscriber Support for his post with the solution)


Comments

Brad said:

Wouldnt you only have this problem if you half upgraded an Agile or CMMI 4.2 team project template. All of the new templates would come with this out of the box. If you are not upgrading your 4.2 projects correctly you are going to have more problems.

# March 10, 2011 5:02 PM

neno said:

@Brad: That's right.

# March 11, 2011 4:44 PM