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. .
Observe the requirements to perform the procedure correctly.
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.
– 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.
– 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.
– 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.
– 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.
– Extensions Project Server 2013 for Team Foundation Server 2013 that is available in the installation media of TFS 2013
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:
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.
Then execute the following command:
Note: Collection is a collection of designs that you will map.
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
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:
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).
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.
Done! The fields are mapped, now to the tests.
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.
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:
Then go open the Project Server and select to sync with Project Server:
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.
To validate if your Work Item synchronized, check the History tab – All Changes and make sure the timing was successful, as the screenshot below:
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:
Now and approve and verify that the Work Item is already available in Project Professional screen
And there he is!
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..
Save and publish.
Wait a few minutes and check if the Work Item is now available on your Visual Studio.
And there it is!
Evaluating the Work Item is updated
Let’s change some fields in Work Item and save it:
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:
Approve the new update.
See that there was a breakthrough. Calculated% already in the way the Project Manager like!
Well that’s it, it is possible to synchronize more projects, collections, Work Items, as you need!