Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change TFS Work Item Type

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.

like image 515
KrisTrip Avatar asked Apr 06 '10 15:04

KrisTrip


People also ask

Can we change work item type in TFS?

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.

Can we change work item type in Azure DevOps?

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.

What is the equivalent work item in TFS for the change request in pivotal?

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”.)


2 Answers

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.

  1. Right-click on your workitem and select "Create Copy of Work Item"
  2. The following dialog window will pop up where you can then change the work item type for the new item:

enter image description here

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..

like image 151
PortageMonkey Avatar answered Oct 16 '22 11:10

PortageMonkey


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.

like image 35
Richard Banks Avatar answered Oct 16 '22 09:10

Richard Banks