Overview
Git integration connects a TeamTrace project to a code repository, so the development work your team does in Git is visible on the tickets it belongs to. Instead of asking developers where a change is, anyone can open a ticket and see its branches, commits and pull requests. This article explains what the integration does, how it works, which tools you can connect, and where to go next to set it up.
Before You Begin
- You need a TeamTrace project with tickets, and a repository on a Git hosting service that TeamTrace supports. See Supported Tools below.
- The integration is set up for each project, in the project's Settings.
- Setting it up needs access to the project's Settings in TeamTrace and permission to install an app or authorize access in your Git account. See TeamTrace Roles and Permission Matrix.
What Git Integration Gives You
| Benefit | What it means |
| Development work on the ticket | Each ticket has a Git section with its Branches, Commits and Pull request tabs. |
| One place for managers | Managers and testers can follow progress in TeamTrace without opening the repository. |
| A clear link between work and code | The ticket number connects a task in TeamTrace to the code that was written for it. |
| Less manual updating | Developers don't need to copy links and notes from Git into the ticket. |
How It Works
- Connect. You connect a TeamTrace project to your Git account. For GitHub, you install the TeamTrace app from the GitHub Marketplace, then use Connect in the project's Settings, under Integration, and authorize the app.
- Create a ticket. Someone creates a ticket in the connected project. The ticket has a number.
- Work in Git. The developer creates a branch in the repository using the ticket number, commits changes, and opens a pull request.
- See it in TeamTrace. The ticket's Git section shows the branch, the commits and the pull request.
Supported Tools
| Tool | Supported | How to set it up |
| GitHub | Yes | Install the TeamTrace app from the GitHub Marketplace, then connect the project. See How to Set Up Git (GitHub) Integration in TeamTrace. |
| Bitbucket | Yes | See How to Connect Bitbucket to Your Project in TeamTrace. |
| Jira | Yes | See: How to integrate Jira with TeamTrace |
How to Get Started
- Choose your tool. GitHub or Bitbucket.
- Prepare a repository. A private repository with a README file works well for a first test.
- Follow the setup guide. For GitHub, see How to Set Up Git (GitHub) Integration in TeamTrace. For Bitbucket, see How to Connect Bitbucket to Your Project in TeamTrace.
- Test with one ticket. Create a ticket, make a branch with its number, commit, open a pull request, and check the ticket's Git section.
- Agree on a habit with your team. Decide how branches and commits are named, so every piece of work links to its ticket.
Good to Know: How Git Integrations Usually Work
The points below describe common practice in project tools in general, such as issue trackers. They are here to help you understand the idea, not to describe TeamTrace, so check each one against TeamTrace before you rely on it.
- The ticket key does the linking. Many tools link work automatically when the ticket key appears in the branch name, the commit message or the pull request title.
- A development panel on the ticket. Commits, branches and pull requests are shown together on the ticket, so people don't need to open the repository.
- Automatic status changes. Some tools move a ticket forward, for example when a branch is created or a pull request is merged.
- Access is limited to what you allow. The connection can see only the repositories you grant to it, and a private repository stays private.
Tips
- Use private repositories for company code, and give the TeamTrace app only the repositories it needs.
- Always start from a ticket. Create the ticket first, then the branch, so the work is linked from the beginning.
- Use the ticket number consistently. One shared naming habit prevents work from going unlinked.
- Try one project first, then connect the rest.
- Review the connection when people join or leave, so only the right people have access to the repository.
Notes
- The integration is set up for each project, so a project that isn't connected shows no Git information.
- The TeamTrace app on the GitHub Marketplace is free to install.
- TeamTrace shows the Git work that belongs to a ticket. It doesn't replace your Git service, and you still create branches, commits and pull requests there.
Troubleshooting
| Problem | What to check |
| I don't know which tools TeamTrace supports | See the Supported Tools table above. |
| I can't find Integration in the project settings | Open the project, then Settings. If it isn't there, you may not have permission. Ask your administrator. |
| A ticket has no Git section | Check that the project is connected under Integration. |
| Work doesn't appear on the ticket | Check that the branch is in the connected repository and uses the ticket number. See the setup guide for your tool. |
| The connection stopped working | Check that the TeamTrace app is still installed and authorized in your Git account. |
| I tried everything and it still fails | Contact TeamTrace support. Email us at support@teamtrace.app |
Related Articles
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