Welcome to EMC Consulting Blogs Sign in | Join | Help

Crispin Parker's Blog

About Scrum for Team System and .Net development

Scrum for Team System v2 projects in TFS 2010

After upgrading your TFS 2008 instance to TFS 2010, some features of SfTS version 2 projects will stop working. The SfTS v2 event service (that controls work remaining roll ups) and project reports are not compatible with the TFS 2010 infrastructure. Unfortunately, the reports cannot be saved, but it is possible to restore the event service functionality using a customised SfTS v3 event service solution. Here’s how to do it.

How to restore the SfTS v2 event service.

  1. Uninstall SfTS v2.
    Note: Only relevant for severs that have had in-place TFS 2010 upgrades.

  2. Download the replacement Event Service source.
    Download from: Services2008.zip 

  3. Extract the services zip on to your TFS AT.
    Unzip the contents of the “Services2008.zip” file to “c:\Program Files\ScrumforTeamSystem”.

  4. Create a new web application for the service.
    Site: Team Foundation Server
    Alias: ScrumforTeamSystem2008
    Application Pool: Microsoft Team Foundation Server Application Pool
    Physical Path: c:\Program Files\ScrumforTeamSystem\Services2008

    IIS Management Console.

    Creating a new web applicaiton.

  5. Create a new work item changed event subscription in TFS.
    The “Services2008.zip” also contains a PowerShell script that creates the required work item changed event subscription. To execute the script:
    1. Launch an elevated command prompt on the TFS AT:
      Press: [Windows Key]
      Type: cmd
      Press: [Ctrl] + [Shift] + [Return]

    2. (If required) Enable PowerShell script execution:
      powershell set-executionpolicy remotesigned

    3. Execute the script:
      powershell "c:\Program Files\ScrumforTeamSystem\Subscribe.ps1"

    4. When promoted, enter the team project collection name and press [Return]:

      The PowerShell script.

You should now have a working event service for your migrated SfTS version 2 project.


Creating new Version 2 projects in TFS 2010.

Another issue you may run into after a TFS2010 upgrade is that you can no-longer create new SfTS v2 projects. The project creation process fails at the report creation step:

Exception Message: The item '/TfsReportDS' cannot be found. (type ReportingServiceException)

To fix this issue, you should remove the report specifications from the process template definition.

  1. Use the Visual Studio Team Explorer panel to download the SfTS v2 process template.
    Right click on the project collection name and select “Team Project Collection Settings \ Process Template Manager” from the context menu.

    Visual Studio Team Explorer context menu.

    Download: Agile Software Development with Scrum - v2.2.14216.001

    Process Template Manager dialog.

  2. Edit the report task configuration file as shown below.
    File location:
    [Export Folder]\Agile Software Development with Scrum - v2.2.14216.001\Reports\reports.xml

    <?xml version="1.0" encoding="utf-8"?>
      <task id="Site" plugin="Microsoft.ProjectCreationWizard.Reporting" completionMessage="Project Reporting site created.">
        <dependencies />
            <site />
      <task id="Populate Reports" plugin="Microsoft.ProjectCreationWizard.Reporting" completionMessage="Project site created.">
          <dependency taskId="Site" />
                    ... Excluded for clarity

  3. Finally, use the Process Template Manager to upload the altered template.
    Select the downloaded template folder root and agree to overwrite the template.

    Confirm overwrite template.


You should now be able to create new SfTS v2 projects in your upgraded TFS 2010 environment.




Crispin Parker,
Senior Practice Consultant,
EMC Consulting.

Published Friday, January 07, 2011 1:32 PM by crispin.parker

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS



Arun Sangal said:

Hi Crispin,

I'm getting the following error while running the powershell script. Can you pls advise. Thanks.

D:\Program Files\Scrum for Team System>powershell set-executionpolicy remotesign


D:\Program Files\Scrum for Team System>powershell Subscribe.ps1

The term 'Subscribe.ps1' is not recognized as the name of a cmdlet, function, s

cript file, or operable program. Check the spelling of the name, or if a path w

as included, verify that the path is correct and try again.

At line:1 char:14

+ Subscribe.ps1 <<<<

   + CategoryInfo          : ObjectNotFound: (Subscribe.ps1:String) [], Comma


   + FullyQualifiedErrorId : CommandNotFoundException

D:\Program Files\Scrum for Team System>

March 10, 2011 8:02 PM

Arun Sangal said:

OK Resolved the above error.


1. Went to the folder where .ps1 was existing.

2. Right clicked on it and "Run as Powershell".

Now, when prompted for collection name: I entered the following (as we use this name in our TFS 2010 instance):


March 10, 2011 8:09 PM

justin said:

This is working for me but ,no report site configured ,can we create report site manually ?

March 11, 2011 11:25 AM

Arun Sangal said:

Ex: Project A created using scrum v2 in TFS 2008.

     Now, we have migrated to TFS 2010 and found that the reports for project "A"  

     are not working and not available.


    1. Per MSteam, the old reports are stored at http://<tfsappserver>/reports location and after migration to TFS2010, the "NEW" reports that MS upgrade process creates, are at http://<tfsappserver>/reports/... there you'll find "TFReports" folder, then "DefaultCollection" under it, then find project "A" and inside that, you'll find all the reports that MS upgrade process has created for this project which was created in TFS2008 in Scrum v2. Those reports (didn't check whether will work or not)..

   2. Other thing, for old reports to work / show up, you have to change the "DATASOURCE" from TFReportDS to TFReport2010DS or something like that and TFReportOLAPDS..to TFReport2010OLAPDs.. something like that..  See if this works.. im forgetting whether this worked for me or not.. it was very late in the night.

 What I did so far.. created a new project "B" using Scrum v3 in TFS2010. Now, I went to Project B's reports .../TFReports/DefaultCollection/B/..." and there I found few folders (containing reports) and reports..

I copied these reports (basically storing the .rdl file behind those reports on my machine) and later, UPLOADED the same .rdls (from scrum v3 for project B),... into Project A's new report location (i..e http://tfsappserver/reports/tfreports/defaultcollection/A/.... this location..

Reports are showing up... but few fields are NOT showing the values ... like "Team (Scrum)" (which shows the team from Globallist/workitems which contain a value for this scrum field.. other field is "Release/Sprint"... one more, "Found In".. etc.

Need to see what was the actual field name was in Scrum version 2 and what's its new name in scrum version 3.

If, I'll find that info, I'll try to change the field's reference in WorkItem template OR just try to see if I can get the .rdl reports fixed with this change and see if reports starts showing up some data.

March 14, 2011 4:56 PM

Smita Thakare said:

Hi Crispin,

your post solve my 50% of problem thank you very much for this .....such a usefull post,

This workarroud solves the problem only if we put the link type as Related ,But in TFS 2010 there are variety of link types out of which we can chose one to make two WI linked with each other (say parent and child)

I would like to know is there any way to make these automatic status update, and automatic update of remaining Hrs. if link types selected as Parent, child?

Please let me know if anyone has solution for this...iff nesesory ask further details

April 7, 2011 11:09 AM

crispin.parker said:

@Smita Thakare,

You will need to configure the event service to work with your customisations. You can find more information on the event service from the below link:


Crispin Parker.

April 7, 2011 11:16 AM

Smita Thakare said:

Thank you Crispin...I will try out this as well.

Your posts allways helps.

April 19, 2011 12:53 PM

Smita Thakare said:

Hello Crispin,

From the above link I found that how to coustomise the scrum V1.0 template should i do the same exersise for scrum v2.0?

as after migration my all projects on Scrum V2.0 having problem. Auto roll up is working on that after i did above exersise , but it is still having problem with.... if we select any other link type exept 'Related' to relate any two WI ..auto rollup dosent work in thius case.

Please suggest me the best way to over come over this issue.

I tried migration of my existing proj to V3 template where all things will goes straight but dont know other impacts of these...or suggest how to make V2 template same fuctioning as V3 so i hope it will work.

April 20, 2011 7:23 AM

Crispin Parker said:

@ Smita Thakare:

If you change the project schema (example use alternative linkage types) you must update the Event Service rule configurations to match your new changes.

Please see the event service posts on my blog for more information on how to do this.


April 21, 2011 9:48 AM

Smita Thakare said:

hello crispin......read all your posts on link


also carefully understand your blog on Event service on


but its totally about sfts V3 service and not helpfull for how to modify existing sfts V2service. I am not able to found how to do it exactly...and how to change Event Service rule configurations and from where!

could you please suggest anything so my work become simpler!

April 26, 2011 5:28 AM

crispin.parker said:

@Smita Thakare:

The replacement event service detailed in this blog post IS a customised version of the SfTS v3 event service. This means you can edit it using the details I have described in my blog.

Re: could you please suggest anything so my work become simpler?

Yes, hire me directly and I will do it for you under contract!

Crispin Parker.

May 10, 2011 5:17 PM

Manish Jain said:

Tip - I had hard time get this working for trial migration upgrade. Don't miss following steps:

   Open a cmd window as admin on the AT

   Change to the directory: “%programfiles%\Microsoft Team Foundation Server 2010\Tools” and run the following commands.

   iisreset /stop

   tfsconfig changeserverid /sqlinstance:<dataTierName> /databasename:Tfs_Configuration

   tfsconfig registerdb /sqlinstance:<dataTierName> /databaseName:Tfs_Configuration

   iisreset /start

   net start tfsjobagent  

September 14, 2011 11:01 PM

Leave a Comment


This Blog



Powered by Community Server (Personal Edition), by Telligent Systems