<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Sunder Raman's Blog</title><subtitle type="html">Life on the inside</subtitle><id>http://blogs.msdn.com/sunder/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sunder/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/sunder/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2006-11-01T23:16:00Z</updated><entry><title>Reporting in Team Foundation Server 2010 – Part 1: Introduction</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sunder/archive/2009/11/24/reporting-in-team-foundation-server-2010-part-1-introduction.aspx" /><id>http://blogs.msdn.com/sunder/archive/2009/11/24/reporting-in-team-foundation-server-2010-part-1-introduction.aspx</id><published>2009-11-25T01:04:23Z</published><updated>2009-11-25T01:04:23Z</updated><content type="html">&lt;p&gt;&lt;font size="2"&gt;This is the first chapter in the series on Reporting in Team Foundation Server (TFS) 2010. In this series, I’ll cover the following topics:&lt;/font&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font size="2"&gt;Walkthroughs for out-of-the-box experience including customizations&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Custom report authoring tools and walkthroughs&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;An overview of the reporting architecture&lt;/font&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;Out-of-the-box, we have several ways to report on the data in TFS to analyze and track project progress, quality and various other metrics:&lt;/font&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font size="2"&gt;SharePoint Dashboards&lt;/font&gt;       &lt;ul&gt;       &lt;li&gt;&lt;font size="2"&gt;We have a brand new set of dashboards based on Microsoft Office SharePoint Server (MOSS)/SharePoint Server as well as Windows SharePoint Services (WSS)/SharePoint Foundation.&lt;/font&gt;           &lt;table border="0" cellspacing="0" cellpadding="0" width="950"&gt;&lt;tbody&gt;             &lt;tr&gt;               &lt;td valign="top" width="472"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/ReportinginTeamFoundationServer2010Part1_ECA4/image_8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/ReportinginTeamFoundationServer2010Part1_ECA4/image_thumb_3.png" width="428" height="339" /&gt;&lt;/a&gt; &lt;/td&gt;                &lt;td width="477"&gt;&amp;#160;&lt;font size="2"&gt;If you choose to integrate TFS with SharePoint Server deployment, then we enable a complete set of rich dashboards using Excel Reports that “light up” with Excel Services and Team Web Access web parts. Since the reports are based on Excel, they are very easy to customize.&lt;/font&gt; &lt;/td&gt;             &lt;/tr&gt;              &lt;tr&gt;               &lt;td valign="top" width="472"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/ReportinginTeamFoundationServer2010Part1_ECA4/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/ReportinginTeamFoundationServer2010Part1_ECA4/image_thumb_2.png" width="428" height="350" /&gt;&lt;/a&gt; &lt;/td&gt;                &lt;td width="477"&gt;&amp;#160;&lt;font size="2"&gt;If you don’t have SharePoint Server in your deployment or you choose to integrate TFS with WSS/SharePoint Foundation then you still get a set of dashboards with reports and Team Web Access web parts. The reports on these dashboards are SQL Server Reporting Services reports written in Report Definition Language (RDL), so they are not as easy to customize as the Excel reports. The Excel Reports are still available on the SharePoint site, but you don’t get the light up experience since Excel Services isn’t available.&lt;/font&gt; &lt;/td&gt;             &lt;/tr&gt;           &lt;/tbody&gt;&lt;/table&gt;       &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font size="2"&gt;Rich SQL Reporting Services (SSRS/RS) Reports&lt;/font&gt;       &lt;ul&gt;       &lt;table border="0" cellspacing="0" cellpadding="0" width="950"&gt;&lt;tbody&gt;           &lt;tr&gt;             &lt;td valign="top" width="472"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/ReportinginTeamFoundationServer2010Part1_ECA4/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/ReportinginTeamFoundationServer2010Part1_ECA4/image_thumb_4.png" width="428" height="332" /&gt;&lt;/a&gt; &lt;/td&gt;              &lt;td width="476"&gt;&lt;font size="2"&gt;We have a whole set of new and improved RS reports, about 16 RDL reports in the MSF for Agile 5.0 template and 15 RDL reports in the MSF for CMMI 5.0 template, providing visibility into bugs, builds, tests etc&lt;/font&gt;.&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;&lt;/table&gt;       &lt;font size="2"&gt;&lt;/font&gt;&lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;   &lt;br /&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font size="2"&gt;Excel Reports from Work Item Queries&lt;/font&gt;       &lt;ul&gt;       &lt;table border="0" cellspacing="0" cellpadding="0" width="951"&gt;&lt;tbody&gt;           &lt;tr&gt;             &lt;td valign="top" width="472"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/ReportinginTeamFoundationServer2010Part1_ECA4/image_12.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/ReportinginTeamFoundationServer2010Part1_ECA4/image_thumb_5.png" width="428" height="322" /&gt;&lt;/a&gt; &lt;/td&gt;              &lt;td width="477"&gt;&lt;font size="2"&gt;This is one of the features that lower the barrier to entry in building your own reports that I like to highlight; the ability to generate a report in Excel based on a work item query.&lt;/font&gt;&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;&lt;/table&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;I’ll cover each of these topics with detailed walkthroughs in the next few chapters. If you have questions or feedback please leave me a comment or send me an email at sunder.raman at microsoft.com&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9928316" width="1" height="1"&gt;</content><author><name>sunder</name><uri>http://blogs.msdn.com/members/sunder.aspx</uri></author><category term="Visual Studio Team System" scheme="http://blogs.msdn.com/sunder/archive/tags/Visual+Studio+Team+System/default.aspx" /><category term="VSTS2010" scheme="http://blogs.msdn.com/sunder/archive/tags/VSTS2010/default.aspx" /><category term="Reporting" scheme="http://blogs.msdn.com/sunder/archive/tags/Reporting/default.aspx" /></entry><entry><title>Team Foundation Server 2010 – Cube Schema Changes in Beta 2</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sunder/archive/2009/10/19/team-foundation-server-2010-cube-schema-changes-in-beta-2.aspx" /><id>http://blogs.msdn.com/sunder/archive/2009/10/19/team-foundation-server-2010-cube-schema-changes-in-beta-2.aspx</id><published>2009-10-19T23:23:01Z</published><updated>2009-10-19T23:23:01Z</updated><content type="html">&lt;p&gt;&lt;font size="2"&gt;In my last &lt;a href="http://blogs.msdn.com/sunder/archive/2009/05/16/team-foundation-server-2010-relational-warehouse-and-cube-schema-changes.aspx"&gt;post&lt;/a&gt;, I wrote about the relational warehouse and cube schema changes coming your way in TFS 2010. We &lt;a href="http://blogs.msdn.com/somasegar/archive/2009/10/19/announcing-visual-studio-2010-and-net-fx-4-beta-2.aspx"&gt;just released&lt;/a&gt; 2010 Beta 2 and I wanted to outline additional schema changes we have made in the cube, especially to polish it for final release and also address a few key usability aspects.&lt;/font&gt;&lt;/p&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;Here’s a comparison between TFS 2008, TFS 2010 Beta 1 and TFS 2010 Beta 2:&lt;/font&gt;&lt;/p&gt;  &lt;br /&gt;  &lt;blockquote&gt;   &lt;table border="0" cellspacing="0" cellpadding="2" width="623"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td valign="top" width="222"&gt;&lt;font size="2"&gt;&lt;strong&gt;TFS 2008&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;          &lt;td valign="top" width="219"&gt;&lt;font size="2"&gt;&lt;strong&gt;TFS 2010 Beta 1&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;          &lt;td valign="top" width="180"&gt;&lt;strong&gt;TFS 2010 Beta 2&lt;/strong&gt;&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="222"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010RelationalWareho_DF97/image_44.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010RelationalWareho_DF97/image_thumb_21.png" width="206" height="1080" /&gt;&lt;/a&gt;&lt;/td&gt;          &lt;td valign="top" width="219"&gt;           &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010RelationalWareho_DF97/image_46.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010RelationalWareho_DF97/image_thumb_22.png" width="203" height="578" /&gt;&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="180"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010Beta2_10D4E/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010Beta2_10D4E/image_thumb_1.png" width="217" height="468" /&gt;&lt;/a&gt; &lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/blockquote&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;Here are the main changes to the Team System cube in Beta 2:&lt;/font&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font size="2"&gt;The following dimensions that are no longer supported have been removed:&lt;/font&gt;       &lt;ul&gt;       &lt;li&gt;&lt;font size="2"&gt;Dimensions related to load test - Load Test Counters, Load Test Page Summary, Load Test Result, Load Test Scenario, Load Test Transaction&lt;/font&gt; &lt;/li&gt;        &lt;li&gt;&lt;font size="2"&gt;Machine&lt;/font&gt; &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Corresponding measure groups have also been removed:&lt;/font&gt;       &lt;ul&gt;       &lt;li&gt;&lt;font size="2"&gt;Load Test Counter, Load Test Page Summary, Load Test Summary, Load Test Details, Load Test Transaction Summary&lt;/font&gt; &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;&lt;font size="2"&gt;Probably one of the biggest changes that we have made in this category is to collapse the ‘Work Item History’ and ‘Current Work Item’ measure groups into one ‘Work Item’ measure group which dynamically shows trend if you include Date and current data otherwise.&lt;/font&gt; &lt;/p&gt;      &lt;blockquote&gt;       &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010Beta2_10D4E/image_5.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010Beta2_10D4E/image_thumb.png" width="186" height="214" /&gt;&lt;/a&gt;&amp;#160;&lt;/p&gt;     &lt;/blockquote&gt;   &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;The above change to the Work Item measure group also meant:&lt;/font&gt;       &lt;ul&gt;       &lt;li&gt;&lt;font size="2"&gt;We didn’t need ‘Cumulative Work Item Count’ and ‘Current Work Item Count’ measures, so we just have one ‘Work Item Count’ measure&lt;/font&gt; &lt;/li&gt;        &lt;li&gt;&lt;font size="2"&gt;We didn’t need different perspectives either, so we just have one Work Item perspective. Note: Perspective is a SQL Enterprise feature and is not available in SQL Standard.&lt;/font&gt; &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Dimension names have been updated to address usability. Here’s a mapping for the name changes:&lt;/font&gt;       &lt;blockquote&gt;       &lt;table border="0" cellspacing="0" cellpadding="2" width="429"&gt;&lt;tbody&gt;           &lt;tr&gt;             &lt;td valign="top" width="200"&gt;&lt;strong&gt;Old Dimension Name&lt;/strong&gt;&lt;/td&gt;              &lt;td valign="top" width="227"&gt;&lt;strong&gt;New Dimension Name&lt;/strong&gt;&lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top" width="200"&gt;File&lt;/td&gt;              &lt;td valign="top" width="227"&gt;Version Control File&lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top" width="200"&gt;Changeset&lt;/td&gt;              &lt;td valign="top" width="227"&gt;Version Control Changeset&lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top" width="200"&gt;Configuration&lt;/td&gt;              &lt;td valign="top" width="227"&gt;Test Configuration&lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top" width="200"&gt;Linked Work Item&lt;/td&gt;              &lt;td valign="top" width="227"&gt;Work Item Linked&lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top" width="200"&gt;Source Project File&lt;/td&gt;              &lt;td valign="top" width="227"&gt;Build Source Project File&lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top" width="200"&gt;Work Item Test Case&lt;/td&gt;              &lt;td valign="top" width="227"&gt;Test Case&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;&lt;/table&gt;     &lt;/blockquote&gt;   &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;‘Test Result’ measure group has been renamed to ‘Test’ and it includes a new ‘Test Case Count’ measure.&lt;/font&gt;       &lt;blockquote&gt;       &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010Beta2_10D4E/image_7.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010Beta2_10D4E/image_thumb_2.png" width="207" height="138" /&gt;&lt;/a&gt; &lt;/p&gt;     &lt;/blockquote&gt;   &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;The following measure names have been renamed as well:&lt;/font&gt;       &lt;blockquote&gt;       &lt;table border="0" cellspacing="0" cellpadding="2" width="439"&gt;&lt;tbody&gt;           &lt;tr&gt;             &lt;td valign="top" width="237"&gt;&lt;strong&gt;Old Measure Name&lt;/strong&gt;&lt;/td&gt;              &lt;td valign="top" width="200"&gt;&lt;strong&gt;New Measure Name&lt;/strong&gt;&lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top" width="237"&gt;Cumulative Build Result Count&lt;/td&gt;              &lt;td valign="top" width="200"&gt;Build Result Count Trend&lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top" width="237"&gt;Cumulative Point Count&lt;/td&gt;              &lt;td valign="top" width="200"&gt;Point Count Trend&lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top" width="237"&gt;Cumulative Result Count&lt;/td&gt;              &lt;td valign="top" width="200"&gt;Result Count Trend&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;&lt;/table&gt;     &lt;/blockquote&gt;   &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Calculated date and numeric measures that are meant for being used as filters gets their own measure group.&lt;/font&gt;       &lt;blockquote&gt;       &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010Beta2_10D4E/image_9.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010Beta2_10D4E/image_thumb_3.png" width="187" height="339" /&gt;&lt;/a&gt; &lt;/p&gt;     &lt;/blockquote&gt;   &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;And, finally, we updated the names of the display folders within the Work Item dimension to follow a consistent pattern so the custom work item fields that are provisioned still fit into this pattern rather than ending up at the root of this dimension. This is a cosmetic change and will not affect reports. Here are some rules around how attributes are organizes in this dimension:&lt;/font&gt;       &lt;ul&gt;       &lt;li&gt;&lt;font size="2"&gt;Folders are named based on field reference name, so fields under one namespace are grouped together to help finding them in the cube when building a report&lt;/font&gt; &lt;/li&gt;        &lt;li&gt;&lt;font size="2"&gt;System fields are the only ones that show up at the root of this dimension as they are commonly used. E.g. Work Item Type, State, Assigned To etc.&lt;/font&gt;           &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010Beta2_10D4E/image_11.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010Beta2_10D4E/image_thumb_4.png" width="308" height="439" /&gt;&lt;/a&gt;&lt;/p&gt;       &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;One last thing I wanted to call out isn’t related to cube schema, but we have changed the name of the Analysis Services database we create by default. The name of database is ‘&lt;strong&gt;Tfs_Analysis&lt;/strong&gt;’. We want to straighten out the terminology instead of overloading the term warehouse to mean both the relational warehouse database as well as the analysis database. Of course, this is just the default and in 2010 you get the flexibility to name this database however you like using Team Foundation Administration Console.&lt;/font&gt;&lt;/p&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;If you have any questions or feedback please leave me a comment of send me an email at sunder.raman at microsoft.com.&lt;/font&gt;&lt;/p&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;[Update 10/21/2009]&lt;/strong&gt; John Socha-Leialoha has written detailed blog posts, &lt;a href="http://www.socha.com/blogs/john/2009/05/upgrading-visual-studio-team-foundation.html"&gt;Part 1&lt;/a&gt; and &lt;a href="http://www.socha.com/blogs/john/2009/10/upgrading-team-foundation-server-2008.html"&gt;Part 2&lt;/a&gt;, to help upgrade custom reports written against TFS 2008 to work with the new schema changes I outlined in this post.&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9909524" width="1" height="1"&gt;</content><author><name>sunder</name><uri>http://blogs.msdn.com/members/sunder.aspx</uri></author><category term="Visual Studio Team System" scheme="http://blogs.msdn.com/sunder/archive/tags/Visual+Studio+Team+System/default.aspx" /><category term="VSTS2010" scheme="http://blogs.msdn.com/sunder/archive/tags/VSTS2010/default.aspx" /><category term="Reporting Platform" scheme="http://blogs.msdn.com/sunder/archive/tags/Reporting+Platform/default.aspx" /></entry><entry><title>Team Foundation Server 2010 - Relational Warehouse and Cube Schema Changes</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sunder/archive/2009/05/16/team-foundation-server-2010-relational-warehouse-and-cube-schema-changes.aspx" /><id>http://blogs.msdn.com/sunder/archive/2009/05/16/team-foundation-server-2010-relational-warehouse-and-cube-schema-changes.aspx</id><published>2009-05-16T22:29:04Z</published><updated>2009-05-16T22:29:04Z</updated><content type="html">&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;[&lt;font color="#ff0000"&gt;Update 10/19/2009&lt;/font&gt;]&lt;/strong&gt; The changes detailed in this post are still applicable for TFS 2010. I just published another &lt;/font&gt;&lt;a href="http://blogs.msdn.com/sunder/archive/2009/10/19/team-foundation-server-2010-cube-schema-changes-in-beta-2.aspx"&gt;&lt;font size="2"&gt;post&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt; with additional cube schema changes that we have made for Beta 2.&lt;/font&gt;&lt;/p&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;Team Foundation Server 2010 is a BIG release for us by all counts. We have made conceptual changes; Brian introduced some of the &lt;a href="http://blogs.msdn.com/bharry/archive/2009/04/19/team-foundation-server-2010-key-concepts.aspx"&gt;key concepts&lt;/a&gt; in TFS 2010 that includes the concept of Team Project Collections (TPCs). These changes required a lot of infrastructure support that we built from the ground up and changes to all the subsystems including the warehouse adapters, relational warehouse schema and the Analysis Services cube schema.&lt;/font&gt;&lt;/p&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;As our Beta 1 release approaches, I wanted to outline the changes to the relational warehouse and cube schema. These are, unfortunately, breaking changes. While we will provide an updated set of out-of-the-box reports (details below), these schema changes will affect your custom reports. By custom reports, I mean SQL Server Reporting Services (SSRS) or Excel pivot table/chart reports you may have authored against the warehouse or cube.&lt;/font&gt;&lt;/p&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;First, a bit of history&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;We get a lot of validation about the incredible value that our reporting platform provides. But, we also know that SQL Server Reporting Services (SSRS) reports aren’t easy to build. &lt;/font&gt;&lt;font size="2"&gt;In our previous releases, we had our Analysis Services cube as the only supported interface for report authoring. However, we recognize that MDX has a huge learning curve for building complex reports using SQL Server Business Intelligence Development Studio (BIDS) and that ad-hoc reporting with Excel pivot table/chart or SQL Server Report Builder didn’t go very far.&lt;/font&gt;&lt;/p&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;While the SSRS team has made great improvements in &lt;a href="http://www.microsoft.com/sqlserver/2008/en/us/report-builder.aspx"&gt;Report Builder 2.0&lt;/a&gt; when compared to the previous version and they continue to invest in making it easier for end users to author reports, we had work to do as well.&lt;/font&gt;&lt;/p&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;Here are some of the main reasons we invested in improving the schema:&lt;/font&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font size="2"&gt;Infrastructure support&lt;/font&gt;       &lt;ul&gt;       &lt;li&gt;&lt;font size="2"&gt;We had to make changes to support infrastructure changes such as the concept of Team Project Collection (TPC). &lt;/font&gt;&lt;font size="2"&gt;For example, we used to have a flat list of Team Projects in 2008 and the project names were guaranteed to be unique on a server. However with TPCs, multiple collections could have project with same names. This poses a problem as multiple collections feed into the same warehouse and cube. Since TPC is a collection of Team Projects, Team Project dimension had to support hierarchy as well.&lt;/font&gt; &lt;/li&gt;        &lt;li&gt;&lt;font size="2"&gt;If are you wondering why not have a one warehouse and cube per collection, read the next bullet point.&lt;/font&gt; &lt;/li&gt;     &lt;/ul&gt;      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Cross-Team Project Collection reporting&lt;/font&gt;       &lt;ul&gt;       &lt;li&gt;&lt;font size="2"&gt;In 2008, we had a flat list of Team Projects on a server and because all of these feed into a single warehouse and cube, you could report across projects. We had to make changes to continue feeding data from multiple collections into the warehouse and cube to support cross-TPC reporting.&lt;/font&gt; &lt;/li&gt;        &lt;li&gt;&lt;font size="2"&gt;This direction lines up with our future goal to support multiple warehouses and continue to support cross-TPC reporting where you choose which collections feed into which warehouse. While, we won’t get there in 2010, this enables us to work towards that goal. &lt;/font&gt;&lt;font size="2"&gt;In TFS 2010, you do get the flexibility to choose whether you want to use reporting or turn it off.&lt;/font&gt; &lt;/li&gt;     &lt;/ul&gt;      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Enabling relational warehouse as reporting interface&lt;/font&gt;       &lt;ul&gt;       &lt;li&gt;&lt;font size="2"&gt;As I mentioned before, we used to have the cube as the only supported interface for report building. MDX has a huge learning curve so it was a big investment for our customers who wanted to build reports.&lt;/font&gt; &lt;/li&gt;        &lt;li&gt;&lt;font size="2"&gt;In TFS 2010, we wanted to provide views as the supported reporting interface on top of the relational warehouse as people have T-SQL knowledge. Our old naming conventions didn’t help differentiate fact tables from dimension tables. We had work to do to clean up the schema. So, while we updated the schema to support infrastructure changes like adding TPC information to these tables, we also standardized table names.&lt;/font&gt; &lt;/li&gt;     &lt;/ul&gt;      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Cube usability&lt;/font&gt;       &lt;ul&gt;       &lt;li&gt;&lt;font size="2"&gt;Our old cube schema wasn’t very usable as we had a *lot* of top-level dimensions so it wasn’t easy to understand how they relate.&lt;/font&gt; &lt;/li&gt;        &lt;li&gt;&lt;font size="2"&gt;We create perspectives and they definitely help, but that feature is limited to SQL Server Enterprise Edition.&lt;/font&gt; &lt;/li&gt;        &lt;li&gt;&lt;font size="2"&gt;Our work item tracking subsystem has a dynamic schema which is very flexible. But this poses a problem in the cube because custom date and person fields that are added to the system and marked reportable end up as top-level dimensions potentially making the list very long and hard to understand.&lt;/font&gt; &lt;/li&gt;        &lt;li&gt;&lt;font size="2"&gt;Some of the fields were only related to work item tracking, like Area and Iteration, but were top-level dimensions alongside other dimensions like Build that weren’t related.&lt;/font&gt; &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Cube Schema Changes&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;br /&gt;&lt;font size="2"&gt;Here’s a comparison between TFS 2008 and TFS 2010 using the default list of dimensions that are created:&lt;/font&gt;   &lt;br /&gt;  &lt;blockquote&gt;   &lt;table border="0" cellspacing="0" cellpadding="2" width="400"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;&lt;strong&gt;TFS 2008&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;          &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;&lt;strong&gt;TFS 2010&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="200"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010RelationalWareho_DF97/image_44.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010RelationalWareho_DF97/image_thumb_21.png" width="206" height="1080" /&gt;&lt;/a&gt;&lt;/td&gt;          &lt;td valign="top" width="200"&gt;           &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010RelationalWareho_DF97/image_46.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010RelationalWareho_DF97/image_thumb_22.png" width="203" height="578" /&gt;&lt;/a&gt; &lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;font size="2"&gt;Here are the main &lt;u&gt;changes&lt;/u&gt; to the Team System cube in TFS 2010:&lt;/font&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font size="2"&gt;Date and Person fields are now attributes on the Work Item dimension rather than being top-level dimensions.&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;There is still a top-level Date dimension that you can use for building trend reports that combine measure from multiple measure groups like work items and test results.&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Area and Iteration dimensions have been folded into the Work Item dimension as true hierarchies and are 14 levels deep similar to Work Item Tracking (WIT) operational store.&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Agent Machine information is now available in the Machine dimension.&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Some dimension names have been updated to make them more meaningful and provide context especially when looking at the entire list. Here’s a mapping for the name changes:&lt;/font&gt;       &lt;ul&gt;       &lt;br /&gt;        &lt;table border="0" cellspacing="0" cellpadding="2" width="400"&gt;&lt;tbody&gt;           &lt;tr&gt;             &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;&lt;strong&gt;Old Name&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;              &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;&lt;strong&gt;New Name&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;Counter ID&lt;/font&gt;&lt;/td&gt;              &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;Load Test Counters&lt;/font&gt;&lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;Page Summary&lt;/font&gt;&lt;/td&gt;              &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;Load Test Page Summary&lt;/font&gt;&lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;Platform&lt;/font&gt;&lt;/td&gt;              &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;Build Platform&lt;/font&gt;&lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;Flavor&lt;/font&gt;&lt;/td&gt;              &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;Build Flavor&lt;/font&gt;&lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;Run&lt;/font&gt;&lt;/td&gt;              &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;Test Run&lt;/font&gt;&lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;Source Project &lt;/font&gt;&lt;/td&gt;              &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;Source Project File&lt;/font&gt;&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;&lt;/table&gt;     &lt;/ul&gt;      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Result dimension has been replaced with Test Result dimension because of schema changes in the Team Test operational store.&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Outcome dimension has been folded into Test Result dimension.&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Run By dimension folded into Test Result dimension.&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Owner is no longer a top-level dimension but part of Test Result and Load Test Result.&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Dimensions starting with ‘Related…’ are available in the Linked Work Item dimension.&lt;/font&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;font size="2"&gt;Here are the main &lt;u&gt;additions&lt;/u&gt; to the Team System cube in TFS 2010 to support the new functionality that is available:&lt;/font&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font size="2"&gt;Work item hierarchy and linking, new in TFS 2010, is also supported in the cube. Related link is no longer the only link type available in WIT and there can be single-hop links or tree link types. Single hop links are available in the Linked Work Item dimension and tree hierarchy is available in the Work Item Tree dimension.&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;In TFS 2010, work item types can now be grouped into categories. For example, ‘Bug’ category can group ‘Bug’ work item type and ‘Defect’ work item type. This information is available in the cube in the Work Item Category dimension and enables cross-project reporting across different work item types that belong to the same category.&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Test cases are stored as work items in 2010, these test cases are available as Work Item Test Case dimension. This dimension filters on just test case work items.&lt;/font&gt;       &lt;ul&gt;       &lt;li&gt;&lt;font size="2"&gt;The name of this dimension is subject to change post-Beta 1.&lt;/font&gt; &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Test Suite, Test Plan and Configuration are new Team Test concepts represented by these new dimensions.&lt;/font&gt;       &lt;ul&gt;       &lt;li&gt;&lt;font size="2"&gt;Note that Test Suite is not available in the cube in Beta 1.&lt;/font&gt; &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Area Path and Iteration Path are now available as attributes on the Work Item dimension that provide a flat string to be displayed on your reports.&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;We also added display folders to the Work Item dimension to make it easier to group fields rather than display one long list&lt;/font&gt;       &lt;ul&gt;       &lt;li&gt;&lt;font size="2"&gt;The names of display folders are subject to change post-Beta 1. If you have feedback, please leave a comment or send me an email at sunder.raman at microsoft.com&lt;/font&gt;&amp;#160; &lt;/li&gt;     &lt;/ul&gt;      &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010RelationalWareho_DF97/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010RelationalWareho_DF97/image_thumb.png" width="207" height="196" /&gt;&lt;/a&gt; &lt;/p&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Relational Warehouse Schema Changes&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;Though our relational warehouse database was not a supported reporting interface, we have made some changes that are worthwhile to mention for customers who are going directly against this database to author reports.&lt;/font&gt;&lt;/p&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;Here are the main changes to the relational warehouse database in TFS 2010:&lt;/font&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font size="2"&gt;TPC information has been added to tables as appropriate&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;We have created views on top of the relational warehouse to provide reporting interface.&lt;/font&gt;       &lt;ul&gt;       &lt;li&gt;&lt;font size="2"&gt;These views make it easier to query for data and less likely to break reports when moving to future versions.&lt;/font&gt;           &lt;br /&gt;&lt;/li&gt;     &lt;/ul&gt;      &lt;ul&gt;       &lt;li&gt;&lt;font size="2"&gt;The views available in Beta1 are pending some design decisions. So, please note that these views are subject to change post-Beta1.&lt;/font&gt;           &lt;br /&gt;&lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Naming conventions have been standardized to help differentiate fact tables and dimension tables&lt;/font&gt;       &lt;blockquote&gt;       &lt;table border="0" cellspacing="0" cellpadding="2" width="400"&gt;&lt;tbody&gt;           &lt;tr&gt;             &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;&lt;strong&gt;TFS 2008&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;              &lt;td valign="top" width="200"&gt;&lt;font size="2"&gt;&lt;strong&gt;TFS 2010&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top" width="200"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010RelationalWareho_DF97/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010RelationalWareho_DF97/image_thumb_1.png" width="118" height="19" /&gt;&lt;/a&gt; &lt;/td&gt;              &lt;td valign="top" width="200"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010RelationalWareho_DF97/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/TeamFoundationServer2010RelationalWareho_DF97/image_thumb_2.png" width="131" height="17" /&gt;&lt;/a&gt; &lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;&lt;/table&gt;     &lt;/blockquote&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Out-of-the-box reports&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;In TFS 2010, we will ship a brand new set of out-of-the-box SSRS reports that work against the new schema. We also authored these reports as Excel workbooks that will ship with the product as well. These Excel workbooks will “light-up” with our new dashboards in TFS 2010; for customers who use Microsoft Office SharePoint Server (MOSS). &lt;/font&gt;&lt;font size="2"&gt;These new Excel workbooks will also be available for customers who choose Windows SharePoint Services (WSS). Look for more information about the dashboards on our &lt;a href="http://blogs.msdn.com/teams_wit_tools/"&gt;team blog&lt;/a&gt; by one of my colleagues.&lt;/font&gt;&lt;/p&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;In addition, to make it easier for customers using SSRS reports that shipped with TFS 2008, we are also updating TFS 2008 reports to work against the new schema changes as well. These updated reports will ship as part of TFS 2010.&lt;/font&gt;&lt;/p&gt;  &lt;br /&gt;  &lt;p&gt;&lt;font size="2"&gt;We are planning to release a whitepaper to help convert your custom reports to work against the new relational warehouse and cube schema. Stay tuned. &lt;/font&gt;&lt;font size="2"&gt;We always welcome your feedback! Please leave a comment on this post or send me an email at sunder.raman at microsoft.com.&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9623679" width="1" height="1"&gt;</content><author><name>sunder</name><uri>http://blogs.msdn.com/members/sunder.aspx</uri></author><category term="Visual Studio Team System" scheme="http://blogs.msdn.com/sunder/archive/tags/Visual+Studio+Team+System/default.aspx" /><category term="VSTS2010" scheme="http://blogs.msdn.com/sunder/archive/tags/VSTS2010/default.aspx" /><category term="Reporting Platform" scheme="http://blogs.msdn.com/sunder/archive/tags/Reporting+Platform/default.aspx" /></entry><entry><title>Work Item rules workaround: Cannot close task unless Remaining Work is zero</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sunder/archive/2009/04/24/work-item-rules-workaround-cannot-close-task-unless-remaining-work-is-zero.aspx" /><id>http://blogs.msdn.com/sunder/archive/2009/04/24/work-item-rules-workaround-cannot-close-task-unless-remaining-work-is-zero.aspx</id><published>2009-04-25T03:48:15Z</published><updated>2009-04-25T03:48:15Z</updated><content type="html">&lt;p&gt;&lt;font size="2"&gt;In the last post in this &lt;/font&gt;&lt;font size="2"&gt;series&lt;/font&gt;&lt;font size="2"&gt;, Gregg blogged about restricting a bug such that &lt;/font&gt;&lt;a href="http://blogs.msdn.com/teams_wit_tools/archive/2009/04/03/work-item-rules-workaround-only-the-creator-of-the-bug-can-close-the-bug.aspx"&gt;&lt;font size="2"&gt;only the creator can close it&lt;/font&gt;&lt;/a&gt; on our &lt;a href="http://blogs.msdn.com/teams_wit_tools/"&gt;team blog&lt;/a&gt;&lt;font size="2"&gt;. This is the last post in this series of workarounds that we have been blogging about. We saved this as the grand finale for our series.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;Customers have asked us: “I don’t want to allow users to close a task unless they have set Remaining Work to zero”&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;Here’s the solution:&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;1. Create a RemainingWorkValidation field&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;2. Add it to the form definition under the validation tab like the previous examples&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;3. Add the following rules to the RemainingWorkValidation field&lt;/font&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="2"&gt;&amp;lt;FIELD type=&amp;quot;String&amp;quot; name=&amp;quot;Remaining Work Validation&amp;quot; refname=&amp;quot;Demo.RemainingWorkValidation&amp;quot;&amp;gt;       &lt;br /&gt;&amp;#160; &amp;lt;ALLOWEDVALUES&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;LISTITEM value=&amp;quot;No Errors&amp;quot; /&amp;gt;        &lt;br /&gt;&amp;#160; &amp;lt;/ALLOWEDVALUES&amp;gt;        &lt;br /&gt;&amp;#160; &amp;lt;WHEN field=&amp;quot;Microsoft.VSTS.Scheduling.RemainingWork&amp;quot; value=&amp;quot;0&amp;quot;&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;COPY from=&amp;quot;value&amp;quot; value=&amp;quot;No Errors&amp;quot; /&amp;gt;        &lt;br /&gt;&amp;#160; &amp;lt;/WHEN&amp;gt;        &lt;br /&gt;&amp;lt;/FIELD&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;font size="2"&gt;4. Add the following rule on the transition to closed state&lt;/font&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="2"&gt;&amp;lt;Transition from=&amp;quot;Active&amp;quot; to=&amp;quot;Closed&amp;quot;&amp;gt;       &lt;br /&gt;&amp;#160; &amp;lt;REASONS&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;REASON value=&amp;quot;Deferred&amp;quot; /&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;REASON value=&amp;quot;Obsolete&amp;quot; /&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;REASON value=&amp;quot;Cut&amp;quot; /&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;DEFAULTREASON value=&amp;quot;Completed&amp;quot; /&amp;gt;        &lt;br /&gt;&amp;#160; &amp;lt;/REASONS&amp;gt;        &lt;br /&gt;&amp;#160; &amp;lt;FIELDS&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;FIELD refname=&amp;quot;Demo.RemainingWorkValidation&amp;quot;&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;WHENNOT field=&amp;quot;Microsoft.VSTS.Scheduling.RemainingWork&amp;quot; value=&amp;quot;0&amp;quot;&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;COPY from=&amp;quot;value&amp;quot; value=&amp;quot;Remaining work has to be zero before closing the work item&amp;quot; /&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/WHENNOT&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/FIELD&amp;gt;        &lt;br /&gt;&amp;#160; &amp;lt;/FIELDS&amp;gt;        &lt;br /&gt;&amp;lt;/Transition&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;font size="2"&gt;5. Add the following rule to active state&lt;/font&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="2"&gt;&amp;lt;State value=&amp;quot;Active&amp;quot;&amp;gt;       &lt;br /&gt;&amp;#160; &amp;lt;FIELDS&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;FIELD refname=&amp;quot;Demo.RemainingWorkValidation&amp;quot;&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;COPY from=&amp;quot;value&amp;quot; value=&amp;quot;No Errors&amp;quot; /&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/FIELD&amp;gt;        &lt;br /&gt;&amp;#160; &amp;lt;/FIELDS&amp;gt;        &lt;br /&gt;&amp;lt;/State&amp;gt;&lt;/font&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;span style="mso-bidi-font-weight: bold"&gt;&lt;/span&gt;        &lt;p&gt;&lt;/p&gt;     &lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;font size="2"&gt;6. Add the following rule to closed state&lt;/font&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="2"&gt;&amp;lt;State value=&amp;quot;Closed&amp;quot;&amp;gt;       &lt;br /&gt;&amp;#160; &amp;lt;FIELDS&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;FIELD refname=&amp;quot;Demo.RemainingWorkValidation&amp;quot;&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;WHENNOT field=&amp;quot;Microsoft.VSTS.Scheduling.RemainingWork&amp;quot; value=&amp;quot;0&amp;quot;&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;COPY from=&amp;quot;value&amp;quot; value=&amp;quot;Remaining work has to be zero before closing the work item&amp;quot; /&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/WHENNOT&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/FIELD&amp;gt;        &lt;br /&gt;&amp;#160; &amp;lt;/FIELDS&amp;gt;        &lt;br /&gt;&amp;lt;/State&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;font size="2"&gt;Here’s what it looks like:&lt;/font&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/WorkItemrulesworkaroundCannotclosetaskun_FA50/image_2.png"&gt;&lt;font size="2"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/WorkItemrulesworkaroundCannotclosetaskun_FA50/image_thumb.png" width="692" height="476" /&gt;&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/WorkItemrulesworkaroundCannotclosetaskun_FA50/image_4.png"&gt;&lt;font size="2"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/WorkItemrulesworkaroundCannotclosetaskun_FA50/image_thumb_1.png" width="699" height="489" /&gt;&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;A word of caution, one of our readers ran into an issue with Team System Web Access with the previous &lt;/font&gt;&lt;a href="http://blogs.msdn.com/teams_wit_tools/archive/2009/03/10/work-item-rules-workaround-closing-down-an-iteration.aspx"&gt;&lt;font size="2"&gt;closing an iteration&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt; workaround where the UI doesn’t refresh on WHEN rule. Though I haven’t had a chance to try this workaround using Web Access, the WHENNOT rule used here may have a similar issue in Web Access.&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9567588" width="1" height="1"&gt;</content><author><name>sunder</name><uri>http://blogs.msdn.com/members/sunder.aspx</uri></author><category term="Visual Studio Team System" scheme="http://blogs.msdn.com/sunder/archive/tags/Visual+Studio+Team+System/default.aspx" /><category term="VSTS2010" scheme="http://blogs.msdn.com/sunder/archive/tags/VSTS2010/default.aspx" /></entry><entry><title>Work Item rules workaround: Saving the resolved reason</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sunder/archive/2009/03/31/work-item-rules-workaround-saving-the-resolved-reason.aspx" /><id>http://blogs.msdn.com/sunder/archive/2009/03/31/work-item-rules-workaround-saving-the-resolved-reason.aspx</id><published>2009-04-01T01:29:57Z</published><updated>2009-04-01T01:29:57Z</updated><content type="html">&lt;p&gt;&lt;font size="2"&gt;In our last post in this series, Gregg blogged about &lt;a href="http://blogs.msdn.com/teams_wit_tools/archive/2009/03/31/work-item-rules-workarounds-secure-creation-of-a-work-item-type.aspx"&gt;securing a work item type&lt;/a&gt; on our &lt;a href="http://blogs.msdn.com/teams_wit_tools/default.aspx"&gt;team blog&lt;/a&gt;. Another question along these lines: “How can I save the resolved reason? I want to create metrics based on how bugs were resolved, but the &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/tfsworkitemtracking/thread/7f39e213-8453-4da3-bd2b-6049967f9183/"&gt;value of the ‘Reason’ field is changed&lt;/a&gt; when the bug is closed”&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;Here’s the solution:&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;1. Add “Microsoft.VSTS.Common.ResolvedReason” field to the form definition&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;2. Add the following rules to the workflow transition from “Active” to “Resolved”&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;Transition from=&amp;quot;Active&amp;quot; to=&amp;quot;Resolved&amp;quot;&amp;gt;    &lt;br /&gt;&amp;#160;&amp;#160; &amp;lt;REASONS&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;REASON value=&amp;quot;Fixed&amp;quot;&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;FIELDS&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;FIELD refname=&amp;quot;Microsoft.VSTS.Common.ResolvedReason&amp;quot;&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;COPY from=&amp;quot;value&amp;quot; value=&amp;quot;Fixed&amp;quot; /&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/FIELD&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/FIELDS&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/REASON&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;REASON value=&amp;quot;Deferred&amp;quot;&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;FIELDS&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;FIELD refname=&amp;quot;Microsoft.VSTS.Common.ResolvedReason&amp;quot;&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;COPY from=&amp;quot;value&amp;quot; value=&amp;quot;Deferred&amp;quot; /&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/FIELD&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/FIELDS&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/REASON&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; ...     &lt;br /&gt;&amp;lt;/Transition&amp;gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;Here’s the end result; I am displaying the field in the Details tab of the Bug form:&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/53e878d1b945_A09A/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/53e878d1b945_A09A/image_thumb.png" width="743" height="581" /&gt;&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;This workaround works by copying the resolved reason when the bug is resolved off into the Resolved Reason field.&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9524309" width="1" height="1"&gt;</content><author><name>sunder</name><uri>http://blogs.msdn.com/members/sunder.aspx</uri></author><category term="Visual Studio Team System" scheme="http://blogs.msdn.com/sunder/archive/tags/Visual+Studio+Team+System/default.aspx" /><category term="VSTS2010" scheme="http://blogs.msdn.com/sunder/archive/tags/VSTS2010/default.aspx" /></entry><entry><title>Work Item rules workaround: Deactivating a work item type</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sunder/archive/2009/03/24/work-item-rules-workaround-deactivating-a-work-item-type.aspx" /><id>http://blogs.msdn.com/sunder/archive/2009/03/24/work-item-rules-workaround-deactivating-a-work-item-type.aspx</id><published>2009-03-25T02:23:03Z</published><updated>2009-03-25T02:23:03Z</updated><content type="html">&lt;p&gt;&lt;font size="2"&gt;My colleague, Gregg, and I have been &lt;a href="http://blogs.msdn.com/teams_wit_tools/default.aspx"&gt;posting&lt;/a&gt; a series of workarounds to achieve scenarios in Work Item Tracking that aren’t straightforward using our rule engine. In the last post in this series, Gregg blogged about &lt;a href="http://blogs.msdn.com/teams_wit_tools/archive/2009/03/17/work-item-rules-workarounds-force-selection-of-reason.aspx"&gt;forcing selection of reason&lt;/a&gt;. Let’s take a look at another question that we often get: “How do I deactivate/retire a work item type? I don’t want to destroy the type because I want to report on it, but I don’t want others to create new work items of this type”.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;Using a similar approach to the previous workarounds:&lt;/font&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;font size="2"&gt;Create a DeactivatedType field as part of the type you want to deactivate&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Add the following rules to the field:&lt;/font&gt; &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&amp;lt;FieldDefinition type=&amp;quot;String&amp;quot; name=&amp;quot;Deactivated Type&amp;quot; refname=&amp;quot;Demo.DeactivatedType&amp;quot;&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160; &amp;lt;COPY from=&amp;quot;value&amp;quot; value=&amp;quot;This work item type has been deactivated. Use Bug type instead.&amp;quot; /&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160; &amp;lt;PROHIBITEDVALUES&amp;gt;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;LISTITEM value=&amp;quot;This work item type has been deactivated. Use Bug type instead.&amp;quot; /&amp;gt;     &lt;br /&gt;&amp;#160; &amp;lt;/PROHIBITEDVALUES&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;/FieldDefinition&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;Now, add this field to the form definition. Make it prominent, let’s put it at the top of the form. Here’s how the form would look like when a user tries to create a work item of this type:&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/WorkItemrulesworkaroundDeactivatingawork_E453/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/sunder/WindowsLiveWriter/WorkItemrulesworkaroundDeactivatingawork_E453/image_thumb.png" width="741" height="201" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;This workaround works by copying a value to our new field that violates the prohibited values rule, so the new work item cannot be saved. This achieves the net result that your type hasn’t been deleted but work items of this type cannot be created.&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9505623" width="1" height="1"&gt;</content><author><name>sunder</name><uri>http://blogs.msdn.com/members/sunder.aspx</uri></author><category term="Visual Studio Team System" scheme="http://blogs.msdn.com/sunder/archive/tags/Visual+Studio+Team+System/default.aspx" /><category term="VSTS2010" scheme="http://blogs.msdn.com/sunder/archive/tags/VSTS2010/default.aspx" /></entry><entry><title>My posts on Team Foundation Server</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sunder/archive/2009/03/24/my-posts-on-team-foundation-server.aspx" /><id>http://blogs.msdn.com/sunder/archive/2009/03/24/my-posts-on-team-foundation-server.aspx</id><published>2009-03-25T00:03:47Z</published><updated>2009-03-25T00:03:47Z</updated><content type="html">&lt;p&gt;&lt;font size="2"&gt;&lt;a href="http://blogs.msdn.com/buckh/"&gt;Buck Hodges&lt;/a&gt;, one of our Dev Managers, recently &lt;a href="http://blogs.msdn.com/buckh/archive/2009/03/22/sorting-by-multiple-columns-in-work-item-tracking.aspx"&gt;referenced&lt;/a&gt; one my posts and I got a couple of emails asking me to update my blog and talk about updates on Reporting in TFS that are coming up in our next release.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;I moved from Work Item Tracking and am now Program Manager for Reporting Platform on Team Foundation Server.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;Over the last two years, I have been occasionally posting topics on Work Item Tracking on our &lt;a href="http://blogs.msdn.com/teams_wit_tools/"&gt;team blog&lt;/a&gt; that we maintain for talking about Project Management, Work Item Tracking and Reporting. I had decided not to cross-post the same topic to both the blogs. Maybe it’s time to re-think that decision :)&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;Here are some topics that I had posted on our team blog:&lt;/font&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font size="2"&gt;&lt;a title="Work Item rules workaround- Closing down an iteration" href="http://blogs.msdn.com/teams_wit_tools/archive/2009/03/10/work-item-rules-workaround-closing-down-an-iteration.aspx"&gt;Work Item rules workaround- Closing down an iteration&lt;/a&gt;&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;&lt;a title="New Power Tool for handling display name change in TFS" href="http://blogs.msdn.com/teams_wit_tools/archive/2008/07/17/new-power-tool-for-handling-display-name-change-in-tfs.aspx"&gt;New Power Tool for handling display name change in TFS&lt;/a&gt;&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;&lt;a title="New Rosario specifications available" href="http://blogs.msdn.com/teams_wit_tools/archive/2008/04/25/new-rosario-specifications-available.aspx"&gt;New Rosario specifications available&lt;/a&gt;&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;&lt;a title="Rich text in work items" href="http://blogs.msdn.com/teams_wit_tools/archive/2008/04/09/rich-text-in-work-items.aspx"&gt;Rich text in work items&lt;/a&gt;&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;&lt;a title="Can I move work items assigned to one user to another using TFSWitDisplayNames tool-" href="http://blogs.msdn.com/teams_wit_tools/archive/2008/02/13/can-i-move-work-items-assigned-to-one-user-to-another-using-tfswitdisplaynames-tool.aspx"&gt;Can I move work items assigned to one user to another using TFSWitDisplayNames tool?&lt;/a&gt;&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;&lt;a title="Work Item Tracking usability improvements - Part 2" href="http://blogs.msdn.com/teams_wit_tools/archive/2008/02/08/work-item-tracking-usability-improvements-part-2.aspx"&gt;Work Item Tracking usability improvements - Part 2&lt;/a&gt;&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;&lt;a title="Work Item Tracking usability improvements in Orcas - Part 1" href="http://blogs.msdn.com/teams_wit_tools/archive/2007/10/30/work-item-tracking-usability-improvements-in-orcas-part-1.aspx"&gt;Work Item Tracking usability improvements in Orcas - Part 1&lt;/a&gt;&lt;/font&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;font size="2"&gt;Our team blog also has great posts from my colleagues on topics in WIT, Excel &amp;amp; Project Integration and Reporting. We will add a lot more content about our Rosario release in the upcoming months.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;[Update 3/25/2009]&lt;/strong&gt; Fixed the broken links to my posts on our team blog. Thanks to Buck for catching this!&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9505193" width="1" height="1"&gt;</content><author><name>sunder</name><uri>http://blogs.msdn.com/members/sunder.aspx</uri></author></entry><entry><title>TfsAdminUtil and Reporting Services service account</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sunder/archive/2007/01/12/tfsadminutil-and-reporting-services-service-account.aspx" /><id>http://blogs.msdn.com/sunder/archive/2007/01/12/tfsadminutil-and-reporting-services-service-account.aspx</id><published>2007-01-13T07:40:00Z</published><updated>2007-01-13T07:40:00Z</updated><content type="html">&lt;P&gt;The following is a snapshot of the error that you might see if the Reporting Services data sources are not updated when the account is changed or updated:&lt;/P&gt;
&lt;H1&gt;&lt;B&gt;&lt;FONT face=Verdana color=black size=4&gt;&lt;SPAN style="FONT-SIZE: 15pt; COLOR: black"&gt;Reporting Services Error&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/H1&gt;
&lt;H1 style="TEXT-ALIGN: center" align=center&gt;&lt;B&gt;&lt;FONT face=Verdana color=black size=4&gt;&lt;SPAN style="FONT-SIZE: 15pt; COLOR: black"&gt;
&lt;HR align=center width="100%" color=silver noShade SIZE=1&gt;
&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/H1&gt;
&lt;UL type=disc&gt;
&lt;LI class=MsoNormal style="COLOR: black"&gt;&lt;FONT face=Verdana color=black size=1&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"&gt;An error has occurred during report processing. (rsProcessingAborted) &lt;A class="" target=_blank&gt;&lt;FONT face=Calibri color=#0000ff size=2&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri"&gt;Get Online Help&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/A&gt; &lt;/SPAN&gt;&lt;/FONT&gt;
&lt;UL type=circle&gt;
&lt;LI class=MsoNormal style="COLOR: black"&gt;&lt;FONT face=Verdana color=black size=1&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"&gt;Cannot impersonate user for data source 'TfsOlapReportDS'. (rsErrorImpersonatingUser) &lt;A class=""&gt;&lt;FONT face=Calibri color=#0000ff size=2&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri"&gt;Get Online Help&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/A&gt; &lt;/SPAN&gt;&lt;/FONT&gt;
&lt;UL type=square&gt;
&lt;LI class=MsoNormal style="COLOR: black"&gt;&lt;FONT face=Verdana color=black size=1&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"&gt;Logon failed. (rsLogonFailed) &lt;A class="" target=_blank&gt;&lt;FONT face=Calibri color=#0000ff size=2&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri"&gt;Get Online Help&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/A&gt; &lt;/SPAN&gt;&lt;/FONT&gt;
&lt;UL type=square&gt;
&lt;LI class=MsoNormal style="COLOR: black"&gt;&lt;FONT face=Verdana color=black size=1&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"&gt;For more information about this error navigate to the report server on the local server machine, or enable remote errors &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;DIV style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 0.5in"&gt;
&lt;DIV class=MsoNormal style="TEXT-ALIGN: center" align=center&gt;&lt;FONT face=Verdana color=black size=1&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Verdana"&gt;
&lt;HR align=center width="100%" color=silver noShade SIZE=1&gt;
&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;P class=MsoNormal style="MARGIN-LEFT: 0.5in"&gt;&lt;SPAN class=productinfo1&gt;&lt;B&gt;&lt;FONT face=Verdana color=gray size=1&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;SQL Server Reporting Services&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most of us are probably already aware of this, but this question comes up quite often. If your Reporting Services service account has changed because you moved your Team Foundation Server installation or if you are using a different account, you will need to run TfsAdminUtil ChangeAccount.&lt;/P&gt;
&lt;P&gt;In &lt;EM&gt;addition&lt;/EM&gt; to this, you will also need to update the password and/or username for the TfsReportDS and the TfsOlapReportDS data sources manually using the Reporting Services web site at: &lt;A href="http://%3catmachinename%3e/Reports/" mce_href="http://%3catmachinename%3e/Reports/"&gt;http://&amp;lt;ATMachineName&amp;gt;/Reports/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;More documentation on this topic: &lt;A href="http://msdn2.microsoft.com/en-us/library/ms252480(VS.80).aspx" mce_href="http://msdn2.microsoft.com/en-us/library/ms252480(VS.80).aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms252480(VS.80).aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1458918" width="1" height="1"&gt;</content><author><name>sunder</name><uri>http://blogs.msdn.com/members/sunder.aspx</uri></author><category term="Visual Studio Team System" scheme="http://blogs.msdn.com/sunder/archive/tags/Visual+Studio+Team+System/default.aspx" /></entry><entry><title>Visual Studio Team System Chat tomorrow - Wed, Nov 8th</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sunder/archive/2006/11/07/visual-studio-team-system-chat-tomorrow-wed-nov-8th.aspx" /><id>http://blogs.msdn.com/sunder/archive/2006/11/07/visual-studio-team-system-chat-tomorrow-wed-nov-8th.aspx</id><published>2006-11-07T23:50:00Z</published><updated>2006-11-07T23:50:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'"&gt;Join members of the Visual Studio Team System product group to discuss features available in Visual Studio Team Foundation Server, Team Editions for Architects, Developers, Database Pros, and Testers. In addition, discuss what's new in the latest Community Technology Preview (CTP).&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'"&gt;Join the &lt;A href="http://msdn.microsoft.com/chats"&gt;&lt;FONT color=#800080&gt;chat&lt;/FONT&gt;&lt;/A&gt; on Wednesday, November 8&lt;SUP&gt;th&lt;/SUP&gt;, 2006 from 10:00am - 11:00am Pacific Time.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;A href="http://msdn.microsoft.com/chats/outlook_reminders/06_1108_msdn_vsts.ics"&gt;Add to Calendar&lt;/A&gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1022153" width="1" height="1"&gt;</content><author><name>sunder</name><uri>http://blogs.msdn.com/members/sunder.aspx</uri></author><category term="Visual Studio Team System" scheme="http://blogs.msdn.com/sunder/archive/tags/Visual+Studio+Team+System/default.aspx" /></entry><entry><title>User Account Control (UAC): Do you want to turn it off?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sunder/archive/2006/11/06/user-account-control-uac-do-you-want-to-turn-it-off.aspx" /><id>http://blogs.msdn.com/sunder/archive/2006/11/06/user-account-control-uac-do-you-want-to-turn-it-off.aspx</id><published>2006-11-07T01:22:00Z</published><updated>2006-11-07T01:22:00Z</updated><content type="html">&lt;P&gt;I have read posts on how to turn User Account Control (UAC, formerly LUA) in Windows Vista off.&amp;nbsp;Others like &lt;A class="" href="https://blogs.technet.com/jesper_johansson/archive/2006/06/22/438316.aspx" target=_blank mce_href="https://blogs.technet.com/jesper_johansson/archive/2006/06/22/438316.aspx"&gt;Jesper Johansson&lt;/A&gt;&amp;nbsp;and the folks on the &lt;A class="" href="http://blogs.msdn.com/uac/archive/2006/06/26/648165.aspx" target=_blank mce_href="http://blogs.msdn.com/uac/archive/2006/06/26/648165.aspx"&gt;UAC team&lt;/A&gt;&amp;nbsp;have tried to convince people to leave UAC running.&lt;/P&gt;
&lt;P&gt;Security is not convenient, but I think UAC is definitely a step in the right direction. I understand why some people were annoyed with UAC - it was intrusive in Beta 2. But&amp;nbsp;it's much better&amp;nbsp;in RC1 and later. Personally, I like this feature&amp;nbsp;a lot. I definitely don't want Internet Explorer running unprotected - one wrong click is all it takes when you are running as an admin. Vista makes running as a normal user easy and you definitely don't want to turn off UAC when running as an admin. UAC is useful when running as a normal user as well, 'cause I can enter my admin credentials if an application needs it and I get to decide whether to grant access or not.&lt;/P&gt;
&lt;P&gt;Now, if the Secure Desktop mode bugs you, then it's understandable to turn just that off. This is the mode where the desktop goes dark highlighting only the UAC dialog waiting for your input. I don't want the setup that I kicked off from a network share while I was doing something else to block my desktop when it's ready to run. If you want to turn this off, go to Control Panel &amp;gt; System and Maintenance &amp;gt; Administrative Tools &amp;gt; Local Security Policy, click on Local Policies &amp;gt; Security Options and scroll all the way down to UAC policies.&amp;nbsp;Open the policy named "User Account Control: Switch to the secure desktop when prompting for elevation", select Disabled and click Ok. From this point on, the UAC dialog won't block the entire desktop when asking for your permission.&lt;/P&gt;
&lt;P&gt;Better be safe than be sorry.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1006158" width="1" height="1"&gt;</content><author><name>sunder</name><uri>http://blogs.msdn.com/members/sunder.aspx</uri></author><category term="General" scheme="http://blogs.msdn.com/sunder/archive/tags/General/default.aspx" /></entry><entry><title>A start...</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sunder/archive/2006/11/01/a-start.aspx" /><id>http://blogs.msdn.com/sunder/archive/2006/11/01/a-start.aspx</id><published>2006-11-02T01:16:00Z</published><updated>2006-11-02T01:16:00Z</updated><content type="html">&lt;P&gt;My name is Sunder Raman and I am currently working&amp;nbsp;on&amp;nbsp;Work Item Tracking feature of Team Foundation Server. Like most, I have been toying around with the idea of blogging for a while, but didn't get around to actually starting one until today. And&amp;nbsp;I created two blogs - one for personal stuff and this one so I don't end up with my rants here. That said; this is just a "customary" introductory post :)&lt;/P&gt;
&lt;P&gt;I don't know how&amp;nbsp;much I will be able to keep up&amp;nbsp;with two blogs. But,&amp;nbsp;here's a start...&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=927513" width="1" height="1"&gt;</content><author><name>sunder</name><uri>http://blogs.msdn.com/members/sunder.aspx</uri></author><category term="General" scheme="http://blogs.msdn.com/sunder/archive/tags/General/default.aspx" /></entry></feed>