Skip Ribbon Commands
Skip to main content

Publish Tasks To/From Team Foundation Server

 

Automatically syncing tasks between TFS and Project Server (and hence MS Project) requires settings on both the TFS and Project sides to insure that the data gets sent properly from one to the other. 

 

Publish a Task in TFS to Project Server

  1. After entering all the usual information to create a task in TFS (i.e. in Visual Studio), click the "Project Server" tab.
  2. In the "Publish" section, set "Submit to Project Server" to "Yes".
  3. Enter the name of the registered (associated) MS Project name, e.g. "Comp410 FXX Main Project Development" in the box labeled "Enterprise Project".
  4. Save the task.
  5. If required (true by default), go to the Project Web Application (PWA) site to approve the new tasks (a manager may be the one to do this)
  6. The new task should appear in the Project Server in the next 30 seconds or so.
  7. Follow the directions below to set the task to publish changes made in MS Project back to TFS (not set by default!)
The "Status" section will tell you whether or not the task successfully sync'd with the Project Server.
Note: Tasks that have not been assigned to a resource (person) will not successfully sync to the Project Server!

 

 

Publish a Task in MS Project to TFS

Note that you have to be in MS Project to do this, not on the Project Web Application (PWA) site.

MS Project must be connected to the associated PWA site and have the Enterprise Project Plan associated with the TFS Project open.

Be sure that the project has the two following columns:   "Publish to Team Project" and "Work Item Type (TFS)".   If not, see the "Make Sure that Enterprise Project Plan has Necessary Columns to Sync with TFS" section below.

  1. After filling out the necessary task information, set the following columns as such:
    • "Publish to Team Project" = True
    • "Work Item Type (TFS)" = a mapped TFS type: "Bug", "Issue", "Shared Steps", "Task", "Test Case" or "User Story".
  2. Save and publish the project.
  3. If required (true by default), go to "File/Approve" to approve the new tasks  (a manager may be the one to do this)
  4. the new task should appear in TFS in the next 30 seconds or so.

 

 

 

Make Sure that Enterprise Project Plan has Necessary Columns to Sync with TFS
When the Enterprise Project Plan is first made, it may be missing two critical columns: "Publish to Team Project" and "Work Item Type (TFS)".
Simply add these two columns to the Gantt chart.
For any task that needs to be visible in TFS (VisualStudio), the following must be true for the task:
  • "Publish to Team Project" = True
  • "Work Item Type (TFS)" = mapped TFS type, e.g. "Task".

 

 
 

 

Home