Skip to main content
Version: v2 (current)

Yandex Tracker Integration

import IdealImage from "@theme/IdealImage"; import Head from "@docusaurus/Head";

TL;DR. Connect Yandex Tracker to PanDev Metrics in about 10 minutes. You will create a service yandex account with administrator rights in the organization, issue an OAuth token with tracker:read and tracker:write scopes, paste it into Settings → Integrations → Yandex Tracker, and let PanDev Metrics register a webhook on /v1/yandex/webhook/tracker. Audience: admin.

Before you begin

  • PanDev Metrics is up and running (cloud workspace or on-prem instance)
  • A yandex account with administrator rights in the target Yandex Tracker organization — required because PanDev Metrics creates a webhook on connect
  • Yandex Tracker organization id (found in Administration → Organization settings)
  • PanDev Metrics backend reachable from Yandex Tracker over HTTPS so the webhook can deliver events to /v1/yandex/webhook/tracker
  • An admin role in PanDev Metrics for the target tenant

:::tip Service account Create a dedicated yandex account, for example pandev-metrics-bot@yandex.ru, and add it to the Yandex Tracker organization with admin rights. Personal accounts work, but a service account keeps automatic webhook activity separate from human history and survives staff turnover. :::

Step 1 — Prepare the yandex account

Yandex Tracker requires the integration user to belong to the organization and to hold admin rights on the queues you want to track. Admin rights are needed because PanDev Metrics registers a webhook during connect.

  1. Sign in to tracker.yandex.ru with the organization owner
  2. Open Administration → Users and invite the service yandex account
  3. In Administration → Roles, grant the service user the Administrator role for the organization
  4. Confirm the user has access to every queue that will be synced (queue-level access rules can be stricter than the organization role)

Step 2 — Issue the OAuth token

PanDev Metrics authenticates as the service user with an OAuth token. The token must hold tracker:read and tracker:write scopes — write is required so PanDev Metrics can push IDE-based worklogs.

  1. Sign in to oauth.yandex.ru with the service account
  2. Select Register a new application
  3. Fill in the form:
    • NamePanDev Metrics
    • Platform — Web services
    • Callback URIhttps://oauth.yandex.ru/verification_code (default for token via verification code)
  4. In Permissions, add:
ScopePurpose
tracker:readRead queues, issues, comments, worklogs
tracker:writeWrite worklogs for IDE-based time tracking
  1. Save the application and open it
  2. Follow the device authorization flow or paste the URL https://oauth.yandex.ru/authorize?response_type=token&client_id=<your-client-id> into a browser signed in as the service user
  3. Approve access and copy the token from the URL fragment

The token does not expire by default. Keep it in a secrets manager.

Step 3 — Get the organization id

PanDev Metrics needs the organization id to scope API calls to the correct tenant in Yandex Tracker.

  1. Open tracker.yandex.ru signed in as the service user
  2. Go to Administration → Organization settings
  3. Copy the Organization id value (a number, e.g. 7654321)

Cloud Organization (Yandex 360) and Yandex Cloud Organization use different id formats. PanDev Metrics accepts both — paste the value exactly as displayed.

Step 4 — Connect Yandex Tracker in PanDev Metrics

PanDev Metrics stores the credentials inside the tenant and registers a webhook against Yandex Tracker during this step.

  1. Open PanDev Metrics and go to Settings → Integrations → Yandex Tracker
  2. Fill in the form:
    • Organization id — value from Step 3
    • OAuth token — value from Step 2
  3. Select Check connection — PanDev Metrics validates credentials and lists the queues available to the service user
  4. Pick the queues to monitor and select Activate

Once activated, PanDev Metrics registers a webhook on /v1/yandex/webhook/tracker for issue lifecycle and worklog events. No further setup in Yandex Tracker is needed.

Step 5 — Choose what to sync

Fine-tune what flows into PanDev Metrics so the dashboards stay focused.

  • Queues — list of queue keys to ingest
  • Issue filter — optional Yandex Tracker filter expression, for example Type: !Epic and Status: !Closed
  • Worklog modeautomatic writes IDE-based time back to Yandex Tracker; read-only ingests existing worklogs without writing anything
  • History backfill — set how many days of historical issues and worklogs to pull (default 90 days)

Save the form. The first backfill runs in the background and usually finishes within 10-30 minutes for medium queues.

Verify

Open Settings → Integrations → Yandex Tracker — the tile should show a green Connected badge and the last sync timestamp.

Then open any dashboard with a task-tracker widget and confirm that:

  • Recent Yandex Tracker issues appear next to commits
  • Issue statuses match Yandex Tracker (Open / In Progress / Resolved)
  • IDE time is attributed to issues whose key appears in branch names or commit messages (for example BACK-123)

To force a fresh poll, select Sync now on the integration tile.

What gets collected

PanDev Metrics pulls a limited, well-defined slice of Yandex Tracker data — no attachments, no comment bodies by default.

SourceDirectionWhat is stored
Issue fieldsPull + webhookKey, summary, type, status, priority, assignee, author, queue, sprint, tags, components, story points, deadline
Status transitionsWebhook /v1/yandex/webhook/trackerFrom, to, timestamp, actor — used for cycle time and time-in-status
WorklogsWebhook + pullAuthor, start, duration, issue key — used to enrich IDE-based time tracking
SprintsPullSprint id, name, state, start / end dates
UsersPullYandex id, display name, email — matched against PanDev Metrics employees

Attachments and comment bodies are not stored.

Troubleshooting

Check connection fails with `401 Unauthorized`

The OAuth token is wrong, was revoked, or lacks tracker:read / tracker:write scopes. Reissue the token (Step 2) and paste it into the integration form. Confirm the service user is still a member of the organization.

Check connection fails with `403 Forbidden`

The service user is in the organization but lacks the Administrator role on the queues being checked. Open Administration → Roles and grant admin, then Sync now in PanDev Metrics.

Connection works, but webhook events do not arrive

The Yandex Tracker servers cannot reach the PanDev Metrics backend on the /v1/yandex/webhook/tracker endpoint. The backend must be reachable over HTTPS from the public internet. From any host outside your network, run curl -v https://<pandev-host>/v1/yandex/webhook/tracker — it must return HTTP 4xx, not a connection error.

Worklogs do not appear in Yandex Tracker after enabling automatic mode

The token is missing the tracker:write scope. Reissue the token with both tracker:read and tracker:write, then update it in Settings → Integrations → Yandex Tracker.

FAQ

Which Yandex Tracker plans are supported?

PanDev Metrics works with every Yandex Tracker plan — free and paid alike. The integration uses the standard REST API and OAuth flow, both available on all tiers.

What are the minimum permissions?

PanDev Metrics requires the service user to hold the Administrator role in the Yandex Tracker organization. Administrator rights are needed because PanDev Metrics registers a webhook during connect; lower roles cannot register webhooks. Queue access must also be granted on every queue to be synced.

How does worklog sync work?

PanDev Metrics ingests existing Yandex Tracker worklogs and, if automatic mode is on, writes IDE-based time back to issues. Time is attributed to the issue whose key appears in branch names, commit messages, or the IDE context. Worklog events arrive in near real-time via the /v1/yandex/webhook/tracker webhook.

Yes. Put the issue key (for example BACK-123) in the branch name, commit message, or pull request title. The git integration extracts the key, PanDev Metrics joins it with Yandex Tracker data, and the issue appears next to the commit on dashboards. This is how PanDev Metrics builds the cost-of-feature view.

Will PanDev Metrics write to Yandex Tracker?

Only in automatic worklog mode, and only worklog records — never issue status, assignee, or comments. In read-only mode no writes happen at all. Most teams start read-only and enable automatic worklog after they trust the IDE-based time tracking.

How long does the OAuth token live?

By default Yandex OAuth tokens do not expire. They stay valid until you revoke the application in oauth.yandex.ru. If you set an expiration policy at the organization level, regenerate the token before expiry and update it in Settings → Integrations → Yandex Tracker.

Can I connect multiple Yandex Tracker organizations?

Yes. Add each one as a separate integration in Settings → Integrations → Yandex Tracker → Add instance. PanDev Metrics scopes data by organization id, so identical queue keys in different organizations do not collide.

Is the API rate-limited?

Yandex Tracker enforces global rate limits per organization. PanDev Metrics paces its calls automatically and falls back to webhook-driven updates when limits approach. Large backfills (over 100k issues) may take a few hours instead of minutes.

Next steps