Bagikan melalui


Managing Project Server Integration with TFSAdmin ProjectServer

You can synchronize data between Visual Studio Team Foundation Server 2010 and either Microsoft Project Server 2007 with Service Pack 2 (SP2) or Project Server 2010 if you first configure several points of integration between them. To configure this integration, you use the TFSAdmin ProjectServer command-line tool, which you can find in Drive:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE on any computer that runs Team Explorer and Service Pack 1 for Visual Studio 2010. For 64-bit machines, the tool is in Drive:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE.

Note

For an overview of this configuration, see Administering the Integration of Team Foundation Server and Project Server.

Global Parameters

You can use the parameters in the following table to display information about TfsAdmin ProjectServer.

Parameter

Description

/help

or

/?

Displays the syntax and parameters for the command-line tool.

Command /help

or

Command /?

Displays the syntax and parameters for the TfsAdmin ProjectServer command that you specify.

Commands that Support Integration of Project Server and Team Foundation Server

Tasks

Related content

Manage the registration of Project Server to Team Foundation Server. To integrate Project Server and Team Foundation Server, you must first register an instance of Project Web Access or Project Web App (PWA) to Team Foundation Server. To manage this type of registration, you use the following command options:

  • /RegisterPWA: Registers an instance of Project Web Access to Team Foundation Server.

  • /GetRegisteredPWA: Returns the list of registered instances.

  • /UnregisterPWA: Removes the registration of an instance.

Registering an Instance of PWA to Team Foundation Server

Manage the association of team project collections to an instance of PWA. You manage the association of team project collections to an instance by using the following command options:

  • /MapPWAToCollection: Maps a team project collection to an instance of Project Web Access. Before you can map a collection to an instance, you must register the instance.

  • /GetMappedCollections: Returns the list of mapped collections.

  • /UnMapPWAFromCollection: Removes the mapping between a collection and an instance.

Mapping a Team Project Collection to an Instance of PWA

Manage the association of enterprise project plans to team projects. To synchronize tasks in an enterprise project with work items in a team project, you must map the project plan to the team project. You can manage this type of mapping by using the following command options:

  • /MapPlanToTeamProject: Maps an enterprise project to a team project. Before you create this type of mapping, you must map the instance of PWA instance that is associated with the enterprise team project.

  • /GetMappedProjects: Returns the list of enterprise projects that are mapped to team projects.

  • /UnmapPlanFromTeamProject: Removes a mapping between a team project and an enterprise project.

Managing Mappings Between an Enterprise Project and a Team Project

Manage which types of work items participate in data synchronization. After you have made your initial configurations and mapping, you can change the types of work items that are mapped. You can manage the types of work items that participate in synchronization by using the following command options:

  • /MapWorkItemTypes: Defines the types of work items that can participate in synchronization for a team project. Regardless of whether you map a given type of work item, work items of that type will not be synchronized unless a user submits them for publishing.

  • /GetMappedWorkItemTypes: Returns the list of work item types that are configured to participate in synchronization for a team project.

  • /UnmapWorkItemTypes: Removes types of work items from participating in synchronization for a team project.

Managing the Types of Work Items Available for Synchronization

Customize how fields are mapped between Team Foundation Server and Project Server. You must map fields between the two server products and define how the data is synchronized. You can either upload the default mappings or add mappings and customize how fields are synchronized. You maintain the field mappings by using the following command options:

  • /DownloadFieldMappings: Downloads the field mappings to a file.

  • /UploadFieldMappings: Uploads the field mappings that are defined in a file.

Managing Field Mappings for Integration of Team Foundation Server and Project Server

Retrieve recent error messages that occurred when data was synchronized. To support your troubleshooting efforts, you can retrieve information about the most recent errors that were logged for a team project collection if you use the /GetSyncMessages command option.

Viewing Synchronization Engine Error Messages

See Also

Tasks

Configuring the Integration of Team Foundation Server and Project Server

Concepts

Removing a Component from Participating in Data Synchronization

Changing the Configuration of Your Deployment

Administering the Integration of Team Foundation Server and Project Server