Share via


TFS Power Tools Release - Work Item Templates - Bulk Edit

In the introduction post, I introduced the Work Item Templates feature in the latest power tools release. This post will talk about how you can use work item templates to do bulk edits.

Let's take the following scenario: We want to move several tasks from one iteration into another.

Starting with a set of tasks that are all on the V1.1 iteration:

image

 

We'll create a template which only sets the Iteration Path. Note that we kept all other fields blank, even though they are required.

image

After saving the work item template, we look at our query again and select those items we want to move to Iteration V2

image

Then we right-click on the work item template we just created and select "Apply Template"

image

This will apply any values set in the template to all the work items selected in the query:

image

Select "Save All" and you are done. Pretty sweet, huh?

What if applying the template causes one of the selected templates to violate a business rule? TFS won't let you save, then you can open the work item and investigate what the problem is.

Some other applications I've come up with for this feature are:

  • Assigning to a particular area path, for example, taking a task or bug and moving it into my area.
  • Setting a state to Resolved or Closed. In fact, I keep a "Set to Resolved" and "Set to Closed" work item template handy for this purpose.

I'm sure you'll think of good ones as well.

Comments

  • Anonymous
    October 05, 2007
    PingBack from http://www.artofbam.com/wordpress/?p=5465

  • Anonymous
    October 12, 2007
    This is the third and last post on a series of posts introducing the work item templates feature in the

  • Anonymous
    November 15, 2007
    Over the last few days, I've been trying to get my TFS system upgraded with some customizations that

  • Anonymous
    August 04, 2015
    It would be vey nice to be able to make item templates that contains child templates example: Strory template   -> task 1 template   -> task 2 template   ... Just by creating story workitem from template I would like to have all childern also be created.