Body
This how-to article will help Administrators to add GitHub source control integration using TDAdmin. The user must have TDAdmin access.
Overview
This article describes how to set up GitHub to send events to TeamDynamix for the Source Control Integration. These steps may change without notice if GitHub makes changes to their tool.
When matching users between systems, GitHub can use the Source Control Username for both commits and comments and can use the user's email for commits only.
Setting Up GitHub
To set up GitHub:
- Create a Secret Key in TeamDynamix by following the instructions in the Getting Started with Source Control Integration article.
- Log in to GitHub (https://github.com) and navigate to the repository from which you’d like to send events.
- Click the Settings tab. You may need certain permissions in GitHub to access this tab.
![](https://solutions.teamdynamix.com/TDPortal/Images/Viewer?fileName=1e85795b-7750-44ae-b4e8-b89e1ae74d8e.png)
- Click the Webhooks link in left navigation, then click the Add webhook button.
![](https://solutions.teamdynamix.com/TDPortal/Images/Viewer?fileName=8e0cb83d-6e34-4299-a36f-8cfa6043ce95.png)
- In the Payload URL field, enter
[tdx-url]/TDWebApi/api/sourcecontrol/github/[github-secret-key]
, where [tdx-url] is the base URL for your TeamDynamix environment and [github-secret-key] is the GUID provided in the Value column of the secret key you defined in step 1.
- In the Content Type field, choose application/json.
- In the Secret field, enter the GitHub secret key again, ensuring there are no extra spaces.
- From the Let me select individual events dropdown, select the Commit comment and Push events.
- Leave the Active checkbox checked and click Add Webhook.
You should now be ready to receive events in TeamDynamix.