Git Integration in TeamTrace: Overview

Created by TeamTrace Support, Modified on Tue, 24 Nov at 5:47 AM by TeamTrace Support

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

BenefitWhat it means
Development work on the ticketEach ticket has a Git section with its Branches, Commits and Pull request tabs.
One place for managersManagers and testers can follow progress in TeamTrace without opening the repository.
A clear link between work and codeThe ticket number connects a task in TeamTrace to the code that was written for it.
Less manual updatingDevelopers don't need to copy links and notes from Git into the ticket.


How It Works

  1. 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.
  2. Create a ticket. Someone creates a ticket in the connected project. The ticket has a number.
  3. Work in Git. The developer creates a branch in the repository using the ticket number, commits changes, and opens a pull request.
  4. See it in TeamTrace. The ticket's Git section shows the branch, the commits and the pull request.


Supported Tools

ToolSupportedHow to set it up
GitHubYesInstall the TeamTrace app from the GitHub Marketplace, then connect the project. See How to Set Up Git (GitHub) Integration in TeamTrace.
BitbucketYesSee How to Connect Bitbucket to Your Project in TeamTrace.
JiraYes
See: How to integrate Jira with TeamTrace


How to Get Started

  1. Choose your tool. GitHub or Bitbucket.
  2. Prepare a repository. A private repository with a README file works well for a first test.
  3. 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.
  4. 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.
  5. 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

ProblemWhat to check
I don't know which tools TeamTrace supportsSee the Supported Tools table above.
I can't find Integration in the project settingsOpen the project, then Settings. If it isn't there, you may not have permission. Ask your administrator.
A ticket has no Git sectionCheck that the project is connected under Integration.
Work doesn't appear on the ticketCheck that the branch is in the connected repository and uses the ticket number. See the setup guide for your tool.
The connection stopped workingCheck that the TeamTrace app is still installed and authorized in your Git account.
I tried everything and it still failsContact 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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article