Integration Team Foundation Server (TFS) and Project Server-Full Wiki

This Wiki aims to explain all the steps for the integration of Team Foundation Server 2012 or 2013 and Project Server 2013, and the validation tests to identify if the timing is working properly .

Integrating TFS and Project Server is extremely important because in addition to having the well aligned between the Design and Development team , the ScrumMaster or project and DEV team , also avoid many update locations where the developer needs to update the TFS , Web Project Server , etc., plus team and project leaders have to stay urging the team to update the information is current . Ie a lot of work that can be avoided doing this timing and leaving everyone happy and doing what really matters: Schedule , Create , etc. .

REQUIREMENTS :

Observe the requirements to perform the procedure correctly.

– Permissions

Administrative rights on the TFS and Project Server for TFS service account that will run the sync .

Administrative user rights to execute the commands of sync. Important that this user is also the TFS and Project Server administrator to access the URL paths.

– Visual Studio Team Foundation Server 2013

This post assumes that TFS 2013 is already installed and functional. Doubts installation, may be taken in the installation guide from Microsoft.
http://msdn.microsoft.com/pt-br/library/dd631899.aspx

– Visual Studio Team Explorer 2013

Installing Team Explorer for execution of CLI commands timing is required. Install it on your workstation and the TFS server.

image

image

– Visual Studio 2013 Team Foundation Server Power Tools

Also install the TFS Power Tools to be able to use it when necessary, how to edit Work Items, etc.. Install it on your workstation and the TFS server.

http://visualstudiogallery.msdn.microsoft.com/f017b10c-02b4-4d6d-9845-58a06545627f

image

image

image

image

image

image

– Sharepoint Server 2013

This post assumes that Sharepoint 2013 is already installed and configured integration with TFS 2013, and also with Project Server 2013. Doubts installation, may be taken in the installation guide from Microsoft.

image

http://msdn.microsoft.com/pt-br/library/hh667648.aspx

– Project Server 2013

This post assumes that Project Server 2013 is already installed and functional. Doubts installation, may be taken in the installation guide from Microsoft.

http://technet.microsoft.com/pt-br/library/ee662109.aspx

– Extensions Project Server 2013 for Team Foundation Server 2013 that is available in the installation media of TFS 2013

http://msdn.microsoft.com/en-us/library/hh549244.aspx

To install extensions in TFS Project, follow the procedure below:

Open the media server on your Project Server and perform the installation by following the steps below:

image

image

image

image

SCENARIO FOR INTEGRATION

After installing the prerequisites, we will create a project from scratch to perform the integration.

First you must execute 03 commands (run the commands with administrative rights, preferably within the TFS server) to enable sync TFS with Project Server.

Shell Commands for doTFS and Project Server Integration:

Run this command from Team Explorer or Command Prompt TFS:

Attention (run CMD Visual Studio 2013).

1. Command: tfsadmin projectserver / RegisterPWA / PWA: http://projectserver/PWA / tfs: https://tfsserver/tfs/

Note: In the command example is HTTPS, but usually work on HTTP port 8080 if your TFS is published that way.

image

Then execute the following command:

2. Command: tfsadmin projectserver / MapPWAToCollection / PWA: http://projectserver/PWA / collection: https://tfsserver/tfs/collection

Note: Collection is a collection of designs that you will map.

image

Case shows some error, see this Wiki I made precisely to the problem: http://social.technet.microsoft.com/wiki/pt-br/contents/articles/22691.tf244064-an-error-occurred-while-retrieving-event-handler-tfsapprovalsupdatedeventhandler-generalsecurityaccessdenied.aspx

3. Command: tfsadmin projectserver / UploadFieldMappings / collection: https://tfsserver/tfs/collection / useDefaultFieldMappings

image

Note: The screen used the / force because he had already mapped the fields, but for demonstration performed the process again.

Any questions, you can refer to the link: http://msdn.microsoft.com/en-us/library/gg412656.aspx

Creating a Team Project in TFS

Create a development project in TFS called Project Example XII.

Creating a Development Project in Team Foundation Server 2013 (within the Collection you synchronized):

Follow the steps below:

image

image

image

image

image

image

image

Creating a project in Project Server (EPM).

Create a project called Project EPM Example XII (with the same name as the Project Team Foundation Server).

image

image

After creating the two projects, we will synchronize their fields (in the case will map Requirement, Task and Bug). To do this run the following command:

4. Command: tfsadmin projectserver / MapPlanToTeamProject / collection: https://tfsserver/tfs/collection / enterpriseproject: Project Example XII / teamproject: Project Example XII / workitemtypes: “Requirement, Bug Task”

Depending on the type of methodology you selected, you will map the corresponding fields. In this case, we chose to use CMMI Requirement, if Scrum, we would map PBI.

image

image

Done! The fields are mapped, now to the tests.

VALIDATION

If everything is configured correctly, you can observe inside a Work Item project timing, in your Visual Studio, created a new tab called Project Server.

image

Ok, looks like it is functional, we will hold the first test!

Creating Work Item Visual Studio to Publish to Project Server

Create a Task in Visual Studio:

image

image

Then go open the Project Server and select to sync with Project Server:

image

Note: In the case of the figure, the name of the enterprise project is PJExemploTFS because just creating a new project in TFS and Project Server with this name, but if the project would Example XII.

Then save your Task.

Note: If the TF285010 error, see this Wiki I posted the solution for error.

http://social.technet.microsoft.com/wiki/pt-br/contents/articles/22711.tf285010-the-following-user-is-not-a-valid-project-server-resource.aspx

To validate if your Work Item synchronized, check the History tab – All Changes and make sure the timing was successful, as the screenshot below:

image

This means that your Work Item was for Project Server and is awaiting approval. Let’s check?

Open your Web Project Server and check the corresponding design and approvals and check for an approval on the new Work Item created:

image

Now and approve and verify that the Work Item is already available in Project Professional screen

image

And there he is!

image

Creating Work Item Project Professional to Publish to Team Foundation Server

Open your Project Professional and select Enterprise Project that is synchronized with the TFS Team Project.

Create Work Item and assign the desired information such as name, feature (which will be Assigned to TFS), etc..

image

Save and publish.

image

Wait a few minutes and check if the Work Item is now available on your Visual Studio.

image

And there it is!

Evaluating the Work Item is updated

Let’s change some fields in Work Item and save it:

image

Now, let us identify if there was a change in the schedule of the Project Professional. Click to check progress of the Project in Question:

image

Approve the new update.

image

Click OK.

image

Click OK.

image

Click OK.

image

See that there was a breakthrough. Calculated% already in the way the Project Manager like!

image

Well that’s it, it is possible to synchronize more projects, collections, Work Items, as you need!

Alan Carlos

Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair / Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair / Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair / Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair / Alterar )

Conectando a %s