Body
This how-to article will help Administrators to add Azure DevOps source control integration using TDAdmin. The user must have TDAdmin access.
Overview
This article describes how to set up Azure DevOps to send events to TeamDynamix for the Source Control Integration. These steps may change without notice if Microsoft makes changes to their tools.
The source control integration only supports integration with Azure DevOps Git libraries and does not support comments on commits in Azure DevOps. Azure DevOps does not use the Source Control username but relies on the user's email address. Unlike the other source control integrations, Azure DevOps will not send comment events to TeamDynamix.
Setting Up the Azure DevOps Connection
To set up Azure DevOps:
- Create a Secret Key in TeamDynamix by following the instructions in the Getting Started with Source Control Integration article.
- Log in to Azure DevOps (https://dev.azure.com/) and navigate to the repository that you want to send events from.
- Click Project Settings in the left navigation, then select Service hooks.
![](https://solutions.teamdynamix.com/TDPortal/Images/Viewer?fileName=65c27ebb-a811-4fd9-ba90-0fdcbb950e81.PNG)
- Click the +Create Subscription button.
![](https://solutions.teamdynamix.com/TDPortal/Images/Viewer?fileName=be8e1c9a-1ab7-4c07-852f-65686d185a00.PNG)
- In the New Service Hooks Subscription popup window, click the Web Hooks link, then click the Next button.
![](https://solutions.teamdynamix.com/TDPortal/Images/Viewer?fileName=9b06dec3-66be-4ef0-94f1-f9d501459111.png)
- From the Trigger on this type of event dropdown, select to Code pushed.
- From the Repository dropdown, select the repository from which you’d like to send events.
- Select the desired optional fields from the Branch and Pushed by a member of group fields, then click the Next button.
![](https://solutions.teamdynamix.com/TDPortal/Images/Viewer?fileName=3ae3bb19-b4f3-44cb-beaf-3e26e74be0a7.png)
- In the URL field, type
[tdx-url]TDWebApi/api/sourcecontrol/vsts
, where [tdx-url] is the base URL to your TeamDynamix site.
- In the HTTP headers field, type
X-Tdx-Secret-Key:[vsts-secret-key]
, where [vsts-secret-key] is the secret key defined in step 1.
- Leave the other settings as shown below and click the Finish button.
![](https://solutions.teamdynamix.com/TDPortal/Images/Viewer?fileName=c46459fa-6b42-4a86-926c-a3acbb72e0eb.png)
You should now be ready to receive events in TeamDynamix.