Is it possible to change the type of a TFS work item? For example, I have a Bug I would like to change to a Change Request.
As noted you cannot directly change the work item type however there is a nice shortcut that may save you a lot of time for these scenarios. It will automatically copy links to change sets, test cases etc.
Result: A new work item is created with the new type and the old one automatically added as a link and a comment added to the history area stating the work item ID it was copied from..
Not easily. You could try and hack the database, but that's really not a good idea. Just like dancing barefoot in a room full of broken glass whilst juggling live grenades isn't a good idea.
I'd suggest you create a new work item for the change request, link it to the bug and then set the bug state to obsolete/closed.
Changing a work item's type is now possible by right-clicking the work item in the web view and choosing Change Type:
Here's the link referenced in the screenshot above.
Possible at least in TFS 2012, don't now about 2010
witadmin renamewitd /collection:”http://tfs-server-name:8080/tfs/collection-name
/p:Project-Name /n:”Product Backlog Item” /new:Story
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.