Logo
  Friday, September 10, 2010
Sign-In  |  Sign-Up  |  Contact Us  | Bookmark |  RSS Feed

Using MS Project with Team Foundation Server  
MS Projects allows accessing Team Foundation Server and working with the TFS Work Items. This is advantageous to Project Managers who accustomed to using MS Project and who wants tighter integration between two tools.

In order to access work item in TFS with the help of MS Project, you need to connect to TFS and then get work items into MS Project file.

First, open up MS Project and click on “Choose Team Project” button on your tool panel. This will pop-up a new window where you can specify Team Foundation Server. In our case it is called: TFSRTMSP1. Next step is to select TFS Project you want to access and get Work Items from.

MS Project
MS Project

After we select project, several more options will be available to us from the tool panel: Get Work Items, Publish and Refresh. These options are very important for us if we want to work with the list of work items stored in TFS from within our MS Project file.

Work Items
Work Items

If we are connecting to TFS with the help of MS Project for the first time, we need to select Get Work Items menu option. Get work Items button will open up the following window with several methods to find work items and load them into TFS. In the sample image provided below, we care selecting TFS query called All Issues which will being us all issues store on TFS for the project called Advanture Works.

Get Work Items
Get Work Items

We can select all work items listed under “All Tasks” query and click Find button on the screen. After running find command MS Project lists all of the available tasks as shown on the picture below.

All Tasks
All Tasks

We can select all or individual work items and load then into MS Project by pressing “OK” button on the “Get Work Items” pop-up screen.

Work Items List
Work Items List

We can now start working with these work items as we would normally do while work with MS Projects.

One of the most important things to remember while working with MS Project and Team Foundation Server is syncing MS Project work items and TFS work items. In order to do that you need to perform Refresh operation first before updating Work Item in MS Project and only then Publish to TFS.

One last item to cover is “List and Attachments” button on MS Project Toolbar. This option helps you to examine any links to other work items or attachments that exists for work items in TFS.

After you press “Links and Attachments” button, you will be presented with the following window.

Work Item Links
Work Item Links

Sometimes, we’ll be logging work items into MS Project without intention of adding them to TFS. In this case will need to set attribute on the work item to NO for the following column “Publish and Refresh”.

In addition, you may run into proble publishing work items from within MS Project or MS Excel due to data type mismatch or some other reasons. If this situation will occur while you are working with the MS Project or Excel, you need to click on “Edit Work Item” button on the “Work Item Publishing Errors” dialog box.

Print Using MS Project with Team Foundation Server Bookmark Using MS Project with Team Foundation Server

Related Articles  
Application Tier of Team Foundation Server
Application Tier is an important part of the Team Foundation Server since it houses ASP.NET web services used to talk ...
MSF Process Guidance Customization in TFS
MSF Process Guidance is a compilation of files into one document that specifies Software Development for the project. ...
MS Project Fields Mapping with MS Team Foundation Server
TFS works with MS Project via mapping file with specific fields mapped from one application to another. TFS allows us ...
VSTS Team Edition for Software Architects
Team Edition for Software Architects is one of four Visual Studio Team System editions. Its main goal is to improve ...
Customizing Process Guidance in Team Foundation Server
Team Foundation Server allows for Process Guidance customization. Process Guidance is a part of the Process Template ...
Customizing Process Template in TFS
TFS Process Template can be customized to meet your project management needs. There are several distinctive steps you ...
More