Git and Repository Activity Explained in TeamTrace

Created by TeamTrace Support, Modified on Thu, 26 Nov at 2:52 AM by TeamTrace Support

Overview

TeamTrace is a work management and monitoring platform. When you connect a project to a code repository, the development work your team does in Git, such as branches, commits and pull requests, is shown next to the tickets it belongs to. This puts coding progress in the same place as your tasks, sprints and tracked work hours. This article explains what repository activity is, how TeamTrace connects it to your work, and how to use it fairly and accurately.


Before You Begin


What Repository Activity Means

TermWhat it is
RepositoryThe place in your Git service, such as GitHub, where the project's code is stored.
BranchA separate copy of the code where a developer works on a change without affecting the main code.
CommitA saved set of changes, with a short message that says what was changed.
Pull requestA request to review a branch and merge it into the main code.
MergeAdding the finished changes from a branch to the main code.


How Git Activity Is Tracked in TeamTrace

  1. Connect the project. An administrator connects the project to GitHub in the project's Settings, under Integration, using the TeamTrace app from the GitHub Marketplace.
  2. Create a ticket. The ticket has a number.
  3. Work in Git. The developer creates a branch with the ticket number, commits changes and opens a pull request.
  4. See it on the ticket. Open the ticket and click the Git section. The Branches, Commits and Pull request tabs show the work.


Task and Sprint Linking

What it means. Developer actions are tied to the piece of work they belong to, so you can see how much coding progress there is for a task, and how that fits the sprint.

In TeamTrace.

  • Branches, commits and pull requests appear on the ticket they are linked to, through the ticket number.
  • Tickets in TeamTrace projects can carry a sprint and story points, so the sprint context of a piece of work is on the same ticket.


Time-to-Code Correlation

What it means. Comparing the hours a person logs on a project with the development work that appears in the repository for the same period.

In TeamTrace.

  • TeamTrace tracks time against projects and tickets, and records screenshots, activity levels, and the apps and web addresses used. See TeamTrace Screenshot Tracking Overview.
  • The ticket's Git section shows the development work for the same ticket, so a manager can look at both in one place.


Read it carefully. A lot of development work leaves no commit: reading code, designing, testing, debugging, meetings and code review. A ticket with many hours and few commits is a reason to ask, not proof of a problem.


Developer Bandwidth and Utilization

What it means. Using repository activity, together with activity and workload information, to see who is busy, who has capacity, and where work is getting stuck.

In TeamTrace. The platform has activity and productivity reports for work hours and application use. See TeamTrace Reports Overview.


Read it carefully. Commit counts and lines of code say little about the value of a person's work. Use repository activity as one input to a conversation about workload, not as a score.


Project Progress Visibility

What it means. Seeing how far the work has come without asking developers for status updates.

In TeamTrace.

  • A manager can open a ticket and see whether a branch exists, what has been committed, and whether a pull request is open.
What you see on the ticketWhat it usually means
No branchWork hasn't started in Git, or the branch isn't linked to the ticket.
A branch, but no commitsThe branch was created, but no changes have been saved yet.
Commits, but no pull requestWork is in progress and hasn't been sent for review.
An open pull requestThe work is waiting for review.
A merged pull requestThe changes are in the main code.

These are general readings. Confirm them with your team, because every team works a little differently.


Good to Know: Measures Used in Git Tracking Tools

The points below describe measures that other development-analytics and project tools commonly use. They are here to help you understand the ideas, not to describe TeamTrace, so check each one against TeamTrace before you rely on it.

MeasureWhat it tells you
Cycle timeHow long a pull request takes from start to finish.
Coding timeHow long people spend writing code before a pull request is ready.
Pickup timeHow long a pull request waits before a reviewer starts on it.
Review timeHow long a review takes to complete.

Many project tools also show commits, branches and pull requests inside the ticket, and some flag work that may be at risk, for example when a pull request stays open for too long.


Use Repository Activity Fairly

  • Tell your team. Explain what is connected, who can see it and how it will be used.
  • Look at outcomes, not counts. A small, well-made change can matter more than many commits.
  • Combine it with other information. Use it with tickets, reviews and conversations.
  • Ask before you assume. A gap in commits often has a good reason.
  • Follow company policy and local law on monitoring employees.


Tips

  • Always start from a ticket. Without the ticket number, work can't be linked.
  • Agree on one naming habit for branches and commits across the team.
  • Keep branches small and short-lived, so progress is easy to read.
  • Use the Git section during stand-ups and reviews. It saves asking for status.
  • Check the connection now and then, especially after people join or leave.


Notes

  • TeamTrace shows the Git work that belongs to a ticket. Branches, commits and pull requests are still created in your Git service.
  • Only projects that are connected show Git activity.
  • Only work linked to a ticket is shown on it.


Troubleshooting

ProblemWhat to check
A ticket has no Git sectionCheck that the project is connected under Settings, Integration.
A developer's work doesn't appearCheck that the branch is in the connected repository, that it uses the ticket number, and that the changes were pushed. See Git Branch Tracking Explained in TeamTrace.
The work appears on the wrong ticketCheck the ticket number in the branch name.
Tracked hours and commits don't matchThis is normal. Much work leaves no commit. Talk to the developer.
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