Azure DevOps time tracking: Azure Repos commits on Trakkar tasks

Service hook · Azure Repos commits on tasks · inbound only · ₹120/user/month + GST

On this page
Read the overview

Trakkar receives Azure Repos commits through a service hook and attaches each one that mentions a task code to that task, next to the hours your team logged. Trakkar never calls the Azure DevOps API: it only receives pushes, checked against a secret you control. It suits IT services firms in India that deliver into an enterprise client's Azure DevOps. Pricing is ₹120 per user per month plus GST, paid upfront for 6 or 12 months.

This page is for IT services firms and in-house teams in India whose code lives in Azure Repos, including teams who work inside a client's Azure DevOps organization. It walks through the service hook step by step, mapping repositories, looking after the secret, the linking rules, the limits and the price.

Code on GitHub instead? See GitHub time tracking. For the wider case for IT services firms, from project margins to attendance, read time tracking software for IT services.

Related: All Trakkar integrations, GitHub commit linking, Time tracking for IT services.

How the Azure DevOps connection works

You add a service hook to each Azure DevOps project, and from then on Azure DevOps tells Trakkar about every push. Trakkar reads the commits in it. A commit on the default branch of a mapped repository whose message carries # and a Trakkar task code is attached to that task.

Traffic only flows one way. Trakkar never calls the Azure DevOps API, and the only credential involved is a secret you paste into the hook as its password. Trakkar holds no Azure DevOps login or access token, which helps when a client's security team has to approve the setup.

Hours are untouched: they still come from the desktop app or from manual entries on the web.

Who you need before you start

  • A Trakkar admin, to enable the integration under Settings, then Integrations, in the web app.
  • Someone who can open Project Settings in each Azure DevOps project. When the organization belongs to your client, that person is usually on the client's side.
  • The URL of every repository you want linked.
  • An admin or the project's lead in Trakkar, to add those repositories to each project.
All details: Who you need before you start
  • A Trakkar admin, to enable the integration under Settings, then Integrations, in the web app.
  • Someone who can open Project Settings in each Azure DevOps project. When the organization belongs to your client, that person is usually on the client's side.
  • The URL of every repository you want linked.
  • An admin or the project's lead in Trakkar, to add those repositories to each project.

Set up the service hook in Azure DevOps

  1. In the Trakkar web app, an admin opens Settings, then Integrations, picks Azure DevOps and enables it.
  2. Copy the webhook URL and the secret that Trakkar shows. The same panel lists these steps, so keep it open.
  3. In Azure DevOps, open the project's Project Settings, then Service Hooks, and add a hook that uses the Web Hooks service.
  4. Choose "Code pushed" as the trigger.
  5. Paste Trakkar's webhook URL. Leave the username empty and enter the secret as the password.
  6. Keep resource details to send at "All", then test the hook and finish.
  7. Repeat in every Azure DevOps project that holds code you want linked. One hook per project covers all of its repositories.

Treat the secret like a password. If a client's administrator is adding the hooks, share it with them privately, and regenerate it if it ever leaks.

Map each repository to a Trakkar project

Trakkar needs to know which project each repository feeds. Open the project in Trakkar, go to its Settings tab and find Repositories, then paste the repository URL in the form https://dev.azure.com/your-org/your-project/_git/your-repo.

A project can take several repositories, and only admins and the project's lead can add or remove them. If some of your code is on GitHub, the same section holds both kinds side by side once both integrations are on.

Regenerating the secret

An admin can regenerate the secret from the Azure DevOps panel in Integrations at any time. The old secret stops working straight away, so pushes from any hook still using it stop linking until you update that hook.

Your Trakkar account has one secret for all of its Azure DevOps hooks. If you work across several clients, regenerating means updating the hooks in every client's Azure DevOps projects, so list them before you start.

When an engagement ends, remove that client's repositories from the Trakkar project, because pushes from repositories that aren't mapped are ignored. Regenerate the secret too if you'd rather the client no longer held it, then update your other hooks.

If you disconnect Azure DevOps and enable it again later, Trakkar issues a fresh secret, so the hooks need the new one then too.

Linking a commit by hand

Someone left the code out of a message? Anyone who can edit the task can paste the commit's URL into it, from dev.azure.com or an older visualstudio.com address, as long as its repository is mapped to the task's project.

Because Trakkar never calls Azure DevOps, a commit linked this way is saved with the SHA you pasted and its link, but without its message or time. Commits that arrive through the hook carry the full details.

To remove a link, unlink it from the task, with an Undo if you pick the wrong one.

Example: an IT services firm working in a client's Azure DevOps

Say you run a 40-person IT services firm in Hyderabad, building a claims portal for an insurance company. The client keeps the code in its own Azure DevOps organization, in two projects with five repositories between them.

  1. Your Trakkar admin enables Azure DevOps and sends the URL and secret to the client's Azure DevOps administrator, who adds one Code pushed hook to each of the two projects.
  2. Your delivery manager, who leads the engagement's Trakkar project, maps the five repository URLs to it.
  3. Developers start sessions on their tasks in the desktop app and put the task code in their commit messages.
  4. Pull requests complete into the default branch, and the commits show up on the matching tasks.
  5. At the monthly review, the delivery manager takes the client through each task's hours and commits, then builds the invoice line by line.

The invoice can be a GST invoice with the client's GSTIN, and part payments are recorded against it. Once an admin sets cost rates and turns on margins, the project shows what the engagement has cost so far against its value, and its margin. Hours never turn into invoice lines on their own.

If the client wants to follow progress, share the project through the client portal, where they see its tasks, hours and invoices.

Limits worth knowing

  • Only commits on the default branch link automatically.
  • Only the Code pushed event is used. Work items, pull requests and pipelines aren't read.
  • Linking never touches hours: no time entry is created or changed.
  • Hand-linked commits show the SHA and the link, without a message or time.
  • One secret serves every hook on your account, so regenerating it affects all of them.
All details: Limits worth knowing
  • Only commits on the default branch link automatically.
  • Only the Code pushed event is used. Work items, pull requests and pipelines aren't read.
  • Linking never touches hours: no time entry is created or changed.
  • Hand-linked commits show the SHA and the link, without a message or time.
  • One secret serves every hook on your account, so regenerating it affects all of them.

When Trakkar is not the right fit

  • You want time logged against Azure DevOps work items. Trakkar's tasks are separate, and only commits come across.
  • You expect hours to be worked out from commits. They come from tracked sessions or from time added to a task by hand.
  • The client won't allow a service hook. Nothing links automatically then. Hand-linking still works once Azure DevOps is enabled in Trakkar and the repository is mapped, with fewer details.
All details: When Trakkar is not the right fit
  • You want time logged against Azure DevOps work items. Trakkar's tasks are separate, and only commits come across.
  • You expect hours to be worked out from commits. They come from tracked sessions or from time added to a task by hand.
  • The client won't allow a service hook. Nothing links automatically then. Hand-linking still works once Azure DevOps is enabled in Trakkar and the repository is mapped, with fewer details.

What Azure DevOps linking costs

Azure DevOps linking is included in Trakkar's price, with nothing extra to pay for it. Trakkar is ₹120 per user per month plus 18% GST, paid upfront for 6 months (₹114 per user per month) or 12 months (₹108 per user per month). Billing is never monthly, and there's no setup fee or minimum team size. Outside India, the price is $5 per user per month.

Trakkar for an IT services team, paid upfront, including 18% GST
Team size6 months upfront12 months upfront
10 people₹8,071₹15,293
25 people₹20,178₹38,232
50 people₹40,356₹76,464

There are no refunds. Use the 14-day free trial, which covers any number of users with no card, to add one hook and push a few test commits first.

Firms of 5 or more can also pay once on the lifetime plan: ₹3,999 per seat for 5 to 10 seats, ₹3,599 for 11 to 25, ₹3,199 for 26 to 50 and custom pricing above 50, plus GST. It's limited to 100 companies.

100+ teams use Trakkar. Start a free trial or book a 30-minute demo to see it with your own repositories.

Trusted by 100+ teams across India

  • A2 Digital
  • Drafticode
  • Shri Genesis
  • Teknostark
  • Webchink
  • Satya Kabir E-solutions

Frequently asked questions

Does Trakkar need access to our Azure DevOps organization?

No. Trakkar never calls the Azure DevOps API. Azure DevOps sends pushes to Trakkar through the service hook, and the only credential is the secret you enter as the hook's password.

How many service hooks do we need?

One for each Azure DevOps project. A single hook covers every repository in its project, and all your hooks use the same URL and secret.

What happens if we regenerate the secret?

The old secret stops working at once. Put the new one in every hook that used the old one, or pushes from those projects won't link.

Which branch do commits have to reach?

The repository's default branch. Commits on other branches link once they land there.

Can Trakkar link Azure DevOps work items or pull requests?

No. Only the Code pushed event is used, so Trakkar reads commits and nothing else. Tasks, comments and hours stay in Trakkar.

Do linked commits add hours to a task?

No. Commits sit next to the hours on a task. Time still comes from the desktop app or from time people add to the task by hand.

Can one Trakkar project use both GitHub and Azure DevOps?

Yes. When both integrations are on, a project's Repositories section takes repositories from either one. See GitHub time tracking for that setup.

Does Azure DevOps linking cost extra?

No. It comes with Trakkar at ₹120 per user per month plus GST, paid upfront for 6 or 12 months, or $5 per user per month outside India.

Bring Azure Repos commits onto your Trakkar tasks

₹120/user/month + GST ($5/user/month outside India), paid upfront for 6 or 12 months. 14-day free trial for any number of users, no credit card. Every module is included.