TFS Update 4 CTP 2 Features and installation


Microsoft released Visual Studio 2013 Update 4 Community Technology Preview 2 (CTP 2) on September 22, 2014, it includes some new features and bug fixes.

For more information about this release visit the KB: https://support2.microsoft.com/kb/2994375

This post has main 2 sections:

Team Foundation Server Features

  • Web Access can return directly to query results from a detailed view of the query by using a context menu.
  • Web Access can generate an email directly from the work item view by using a new toolbar command.
  • Web Access has a full-screen option to view query results.
  • The free Stakeholder license provides access to the project home page from which Stakeholders can view the backlog, edit items, run work item queries, and many other operations.
  • Agile teams can have up to 999 work items in the first or last column of the Kanban board.
  • Web Access now opens a work item in a new window or tab.
  • You can maximize (or full screen) fields for quick readability when the rich text editor does not have enough space.

Installation and configuration

  • What you need to know before you install
  • How to install and configure.

Team Foundation Server Features

The following is the walk through video

  • Web Access can return directly to query results from a detailed view of the query by using a context menu.

In the Team Web Access if you run a query and open a work-item from the query result, you can get back to the query result from the work-item context menu on the top-right.

9-25-2014 5-56-27 PM

9-25-2014 5-58-17 PM

  • Web Access can generate an email directly from the work item view by using a new toolbar command.

In the previous update 3, you can send email from the context menu only but now you can send email from the work-item tool bar.
image005
9-25-2014 6-29-13 PM

  • Web Access has a full-screen option to view query results.

Now you can full-screen for the query result for better readability

9-25-2014 6-32-19 PM

image011

  • The free Stakeholder license provides access to the project home page from which Stakeholders can view the backlog, edit items, run work item queries, and many other operations.

There is new Access level feature for the Stakeholder that give them more features then the limited level

9-25-2014 6-35-07 PM

  •  Agile teams can have up to 999 work items in the first or last column of the Kanban board.

9-25-2014 6-37-38 PM

  •  Web Access now opens a work item in a new window or tab.

9-25-2014 8-50-03 PM

  • You can maximize (or full screen) fields for quick readability when the rich text editor does not have enough space.

9-25-2014 6-44-48 PM9-25-2014 6-45-29 PM

Installation and configuration

The following is the walk through video

  • What you need to know before you install

This installation not for production and can’t be upgrade, the only purpose for features evaluation and feedback

image023

  •  How to install and configure.

Installation time (20 minutes)

Configuration time (5 minutes)

This installation doesn’t support layout switch, so you will need to install the web installer.

9-25-2014 4-34-11 PM

For the supported switches type tfs_server.exe/?

9-25-2014 4-34-42 PM

TFSConfig Lab /Delete Command


In a previous post, I explained when you should and should not remove Lab Management resources like (Templates, VMs , Environments) for more information click here

In this post I will show and explain the different options for TFSConfig Lab /Delete switch

What will happen if we run the following command:


tfsconfig lab /delete /collectionName:DefaultCollection 

This will remove all lab managements resources from the collection but it will leave them in SCVMM, see the following video:

What will happen if we run the following command with /External switch:


tfsconfig lab /delete /collectionName:DefaultCollection /external

This will remove all lab managements resources from the collection and also remove them from SCVMM and the Hyper-V host, see the following video:

For more information about TFSConfig lab /delete command, click here

TFS259201 the following host group does not contain any logical network Resolve any issue on host group


In Team Foundation Server, if you try to create SCVMM Lab Environment and you encounter the following error:

TFS259201 the following host group does not contain any logical network Resolve any issue on host group

TFS259201

You can solve this issue as the following:
Add logical network as the following:
SCVMM Logical Network

As we can see the created logical network was not associated with network adapterLogical Network assign network adapter

Add a network adapter to the logical network
Assing Logical network

Release Burndown Reporting Service Error


In Team Foundation Server, if you use Scrum template and all reports that deplyed to SharePoint are working properly excpet “Release Burndown” not working, and you encounter the following error

Release Burndown Reporting Service Error

Parameter validation failed. It is not possible to provide valid values for all parameters. (rsParameterError) sql reporting

TFS Reporting Service error

You only need to give start and end date for iterations

Add start date and end date for iteration tfs

Remember you will need to wait for the warehouse job to run or just manually run it, click here for more info

You should not see the error again even if you don’t have data.

Release burndown tfs reporting service fix

TFS Delete Work Items Tool


I created a small tool to Permanently Delete TFS Work-Items from Team Foundation Server Database, I found some old tools but it doesn’t work with TFS 2013 and the source code was not available so, I decide to create a new one and share the source code.

Download the tool from Visual Studio Gallery

Visit the source code on CodePlex

This tool physically deletes work items from a Team Foundation Server, use it at your own risk

EnableConfirm

TFSDeleteTool

Extending the customization of TFS Process Template


We can customize TFS process template by modifying the definition for different process template items (XML files), like….Work-Items, Process Configuration, Categories, Global List, Global Workflow, etc.

The XML customization includes:

  • Adding more fields
  • Adding more rules
  • Adding more states
  • Modifying many configurations for how the displaying and the performing of  TWA (Team Web Access)

This could give us many possibilities but……. sometimes we need more than just adding  fields or rules…..sometimes we need real programming capabilities, such as getting the current value from a Work-Item and put it in another Work-Item or just calculate some Work-Items values together or changing Work-Item’s filed based on a change from a filed in another Work-Item, so how we can do that?

We have 3 options:

1.We can use a TFS server-side plugin which run within the application pool of the TFS

How to create a TFS Server Side Plugin

2.Register a web service by subscribing for TFS Service that based on SQL Server notification

How to Subscribe to TFS Event Model

3.We can also create a custom control that do that. However, this will not work for TWA (Team Web Access) or in Excel or any other client unless we will create a custom control for TWA and find a way for other clients as well.

 Custom Controls for TFS Work Item Tracking

 

.