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.
When you connect to TFS, you can't change the work item type for an existing work item, but you can copy the work item and specify a new type. For instance, you can copy an existing product backlog item and change the type to bug, as shown in the following illustration.
You can add custom work item types (WITs) or modify existing WITs to add fields, remove or hide fields, add custom rules, and more. For example, you may want to capture customer issues in a custom Ticket WIT. This article applies to Azure DevOps Services and Azure DevOps Server 2019 and later versions.
Ans: The TFS equivalent is the Annotate command I believe. (Simply right-click on the versioned file in the source code explorer and select “Annotate”.)
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With