Overview
You can connect a TeamTrace project to a GitHub repository, so the work your developers do in GitHub shows up next to the ticket it belongs to. After the connection is set up, each ticket has a Git section with its Branches, Commits and Pull request tabs. This article walks you through the whole setup: preparing a repository on GitHub, installing the TeamTrace app from the GitHub Marketplace, connecting your project, and testing that it works.
Before You Begin
- You need a GitHub account. You can create one for free at github.com.
- You need permission to install apps on the GitHub account or organization that owns the repository.
- You need access to the TeamTrace web portal and to the Settings of the project you want to connect. See TeamTrace Roles and Permission Matrix.
- The integration is set up for each project, so repeat the steps in Part 3 for every project you want to connect.
The Setup at a Glance
| Part | What you do | Where |
| 1 | Create a GitHub account and a repository | GitHub |
| 2 | Install the TeamTrace app from the Marketplace | GitHub |
| 3 | Connect your TeamTrace project to GitHub | TeamTrace |
| 4 | Test the integration with a ticket, a branch and a pull request | TeamTrace and GitHub |
Part 1: Create a GitHub Account and a Repository
Step 1: Sign up on GitHub
- Go to GitHub and click Sign up.
- Follow the instructions to create your account. Skip this step if you already have one, and log in instead.

Step 2: Create a repository
- In GitHub, click Create repository. (If you don't see Create Repository, switch it classic mode.)

- Enter a name for the repository.
- Change Visibility to Private.
- Turn the README option On.
- Optional but recommended: choose a .gitignore template with Add .gitignore. It keeps files you don't need, such as build files and passwords, out of the repository.
- Click Create repository at the bottom of the page.

If you already have a repository for this project, you can use it. Make sure it has at least a README file, because you will use it in the test in Part 4.
Part 2: Install the TeamTrace App from the GitHub Marketplace
Step 3: Find and add TeamTrace
- In GitHub, click the three bars (menu) at the top left of the page.

- Click Marketplace.

- In the Marketplace, search for TeamTrace.

- Click TeamTrace in the results.
- Click Add.

- Click Install for free.

- Fill in the required information and follow the instructions on the screen.
Part 3: Connect Your TeamTrace Project to GitHub
Step 4: Open the project's Integration settings
- Log in to the TeamTrace web portal.
- In the left panel, click Projects.

- Open the project you want to connect, or create a new project.
- On the project dashboard, click Settings.

- On the Settings page, click Integration.

For more about the project settings, see Project Settings Explained in TeamTrace.
Step 5: Connect and authorize
- On the Integration page, find GitHub and click Connect.
- A pop-up window opens and asks you to log in to GitHub. Log in.
- When GitHub asks you to authorize the TeamTrace app, authorize it.
- Go back to the TeamTrace portal. The project is now connected.
If the pop-up doesn't open, allow pop-ups for the TeamTrace website in your browser, then click Connect again.
Part 4: Test the Integration
The best way to check that everything works is to follow one ticket from TeamTrace to GitHub and back.
Step 6: Create a ticket and a branch
- In the TeamTrace portal, create a ticket in the connected project.
- Copy the ticket number.
- In your GitHub repository, create a new branch that uses the ticket number.
Step 7: Make a change and open a pull request
- On the new branch, commit a small change to the README file.
- Create a pull request and take it through the merge process.
Step 8: Check the ticket in TeamTrace
- Go back to the TeamTrace portal and open the ticket you created.
- Click the Git section.
- Check the Branches, Commits and Pull request tabs. Your branch, your commit and your pull request should be listed.




If all three tabs show your work, the integration is working.
Tips
- Use a private repository for company code, as recommended in the setup.
- Use a .gitignore file. It keeps unneeded and sensitive files out of the repository.
- Start with a test project. Try the steps on a small project first, then connect your real ones.
- Use the ticket number every time. It is what links your work in GitHub to the right ticket, so agree on a naming habit with your team.
- Give the app only the access it needs. When GitHub asks which repositories TeamTrace can use, choose only the ones you need.
- Review the connection now and then, especially when people leave the team.
Notes
- The TeamTrace app on the GitHub Marketplace is free to install.
- The integration is set per project, in the project's Settings, under Integration.
- The test in Part 4 changes only a README file, so it is safe to do in a real repository.
Troubleshooting
| Problem | What to check |
| I can't find TeamTrace in the Marketplace | Search for TeamTrace in the Marketplace, and check the spelling. Make sure you are logged in to GitHub. |
| I can't install the app | You may not have permission to install apps on that account or organization. Ask the owner. |
| I can't find Integration in the project's Settings | Open the project, then Settings. If it isn't there, you may not have permission. Ask your administrator. |
| The Connect pop-up doesn't open | Allow pop-ups for TeamTrace in your browser, and try again. |
| The GitHub login or authorization doesn't finish | Log in to GitHub in another tab first, then click Connect again, and authorize the TeamTrace app. |
| The ticket has no Git section | Check that the project is connected under Integration. |
| My branch doesn't appear on the ticket | Check that the branch is in the connected repository and that its name uses the ticket number. Refresh the ticket page. |
| Commits or pull requests are missing | Check that you committed on the ticket's branch and pushed the changes to GitHub, then refresh the ticket. |
| It stopped working after a while | Check that the TeamTrace app is still installed and authorized in GitHub. If not, connect the project again. |
| I tried everything and it still fails | Contact TeamTrace support. Email at support@teamtrace.app |
Related Articles
- How to Connect Bitbucket to Your Project in TeamTrace
- Project Settings Explained in TeamTrace
- User Setup
- TeamTrace Roles and Permission Matrix
- TeamTrace API Security Best Practices
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article