> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sureops.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Tracker sync

> Push problem records to GitHub Issues and close each issue when its problem is resolved

sureops can push problem records to **GitHub Issues** automatically, and close the issue when the problem is resolved. This keeps your team's external workflow in sync with sureops's analysis without manual copy-paste: the title, description and, when known, the root cause go out when the issue is created, and the issue closes on resolution.

During the private beta, sureops connects GitHub for you through the sureops GitHub App — see [GitHub](https://docs.sureops.ai/integrations/github.md). Linear is also a fully supported tracker provider (sync works end-to-end), and it's also connected for you by your sureops onboarding contact (see "Who can configure this" below). Your onboarding contact also sets the workflow state a Linear issue moves to when its problem is resolved; without it, closing the issue fails. Jira integration is coming soon; it isn't connectable yet.

> [!NOTE]
>
> Tracker sync is a one-way push. sureops is the source of truth; updates made directly in your issue tracker are not reflected back in sureops.

***

## What gets synced

When tracker sync is enabled, sureops keeps the following in step with your GitHub repository:

| sureops event | What happens in GitHub |
| - | - |
| Problem record created (with **Mirror automatically** on) | A new issue is opened with the problem description and root cause (when known) |
| Problem resolved (if it was pushed) | The issue is closed (state set to `closed`) and its entire label set is replaced with just the configured resolved label (`sureops-resolved` if none is configured) |

Automatic sync fires only on these two events (you can also re-push by hand — see "Retrying a failed push" below). Moving a problem through **Investigating → Root Cause Identified → In Progress** doesn't touch the GitHub issue — those intermediate transitions are visible in sureops only, until the problem is resolved.

***

## Who can configure this

An Admin, Owner, or Compliance Officer configures tracker sync in **Settings → Organization → Issue Tracking**, on the **Problem records** card: turn mirroring on, pick the **Tracker** and then the integration (the GitHub App connection sureops installed for you), and set the **Repository** (`owner/repo`) where issues are filed. Labels and the resolved label aren't in the UI yet — your sureops onboarding contact sets those.

The card also shows a **Mirror automatically** toggle, on by default. While it's on, every new problem is pushed as soon as it's created. While it's off, new problems aren't pushed; push one yourself from its **External tracker** card, on the problem page's **Actions** tab, with **Sync to tracker**.

* **Push problems to the tracker:** any role with `problems:write` capability (Responder and above) can promote an incident to a problem, which pushes it to the tracker immediately when **Mirror automatically** is on; otherwise use **Sync to tracker** on the problem

See [Roles & Capabilities](https://docs.sureops.ai/administration/roles-and-capabilities.md) for details.

***

## Setup

**1. Connect GitHub**

GitHub must be connected through the sureops GitHub App. During the private beta, sureops sets this up for you: tell your onboarding contact (or [hello@sureops.ai](mailto:hello@sureops.ai)) which GitHub organization to use, and an owner of that organization approves the install link we send. There is no GitHub connect form in **Settings → Environment → Integrations** — sureops sets it up for you. See [GitHub](https://docs.sureops.ai/integrations/github.md).

**2. Configure your target repository**

In **Settings → Organization → Issue Tracking**, on the **Problem records** card, turn mirroring on, choose GitHub as the **Tracker**, pick the integration, and enter the **Repository** that should receive problem issues, in `owner/repo` format — for example, `acme/incident-tracking`. Your sureops onboarding contact sets the rest, which isn't in the UI yet:

* **Labels** — any labels you configure are applied to every issue sureops creates, merged with the default `sureops-problem` label — that default label is always added, not just a fallback for when you haven't configured your own
* **Resolved label** — the single label applied when a problem is resolved (`sureops-resolved` if none is set). When sureops closes the issue for a resolved problem, it always sets the issue's state to `closed` **and** replaces its entire label set with just this label — it isn't a choice between state or label, both happen together, and any other labels (including the default `sureops-problem` label) are removed rather than kept alongside it

> [!NOTE]
>
> You can change the target repository later, but it only applies to problems created afterwards. Existing problem records stay linked to their original issue, and a problem whose first push already failed keeps retrying against the repository it was first sent to.

***

## Using tracker sync

### Creating a problem from an incident

**1. Open the incident detail page**

Navigate to the incident you want to convert into a tracked problem.

**2. Promote to Problem**

Click **Promote to Problem**. Fill in the **Title**, optionally set a **Severity** (recorded for audit only — problems are actually categorized by clustering, not severity), and optionally add a **Reason**, then click **Promote**. There's no description field on this form.

**3. Push to GitHub**

With **Mirror automatically** on, the issue appears in your GitHub repository within seconds. With it off, click **Sync to tracker** on the problem's **External tracker** card (on the **Actions** tab) to push it. The problem record stores the external issue ID, so later syncs — closing the issue when the problem is resolved, or **Retry sync** — update the same issue, unless it was deleted in GitHub (see [Retrying a failed push](#retrying-a-failed-push)).

### What the GitHub issue looks like

Each issue sureops creates includes:

* The problem description
* A **Root cause** section, once one is known
* A **Recurrence** note linking back to the full chain in sureops, if this problem is a recurrence of an earlier one
* A **Metadata** block with category, status, customers affected, revenue impact, and incident duration (whichever fields are populated)

### When a problem is resolved

To resolve a problem, open its page and pick **Resolved** from the status badge. This needs `problems:write` (Responder and above).

When a problem is resolved in sureops, the linked GitHub issue closes automatically: its state is set to `closed` and its label set is replaced with just the configured resolved label. A close attempt that fails (your tracker is down or rejects it, or the integration is disconnected) shows "Last attempt failed" and isn't retried automatically. If it already closed the issue, resolving the problem again doesn't close it again.

If sureops itself briefly can't start the close (for example, while it restarts), it keeps trying in the background for up to about 40 minutes. If the card hasn't changed and the issue is still open about an hour after you resolved the problem, sureops has stopped trying. The card doesn't change to "Last attempt failed", and neither **Retry sync** nor resolving the problem again restarts the close: **Retry sync** reports that closing is already in progress or needs attention, or shows the last recorded error. Close the issue in your tracker and contact [hello@sureops.ai](mailto:hello@sureops.ai).

If you reopen a resolved problem (pick another status from the badge), sureops doesn't reopen the linked issue:

* **GitHub:** reopen the issue in GitHub. If you resolve the problem again and the issue stays open, close it there yourself.
* **Linear:** click **Retry sync** on the **External tracker** card; if your onboarding contact set a Linear state for the new status, the issue moves there. If you then resolve the problem again, click **Retry sync** to move the issue back to its resolved state.

If you reopen before the close has run, the card can show "Last attempt failed" ("problem was reopened before the tracker close ran"). Nothing failed and the issue was never closed, so there's nothing to reopen. Because the close never ran, resolving the problem again does close the issue (unless sureops has already stopped trying, as described above), unlike a reopen after sureops has closed it. If the card showed "Last attempt failed" at any point, even if a later **Retry sync** cleared it, that close uses one of the three close retries; once all three are used, resolving again doesn't close the issue and the card says sureops has stopped retrying. On Linear that close needs the resolved workflow state your onboarding contact sets; without it the close fails and still uses a retry.

The close runs in the background, so reload the problem's page to see its result on the **External tracker** card. If the card shows "Last attempt failed", see [Retrying a failed push](#retrying-a-failed-push). If the issue stays open and the card hasn't changed, see the background retry above.

> [!NOTE]
>
> Closing the issue always replaces its entire label set rather than adding to it — this is how sureops applies labels on close. Any other labels on the issue, including the default `sureops-problem` label, are removed at that point rather than preserved alongside the resolved label.

### Retrying a failed push

Each problem's detail page has an **External tracker** card, on its **Actions** tab, showing the linked issue and the last sync result, including a "Last attempt failed" badge and the error when a push fails. sureops does **not** retry a failed push automatically. Anyone with `problems:write` (Responder and above) can click **Retry sync** on that card — or **Sync to tracker** if no sync has been attempted yet — which re-pushes the current title, status, and root cause. It updates the linked issue; if that issue was deleted in GitHub, a replacement is created for a problem that isn't resolved.

On a **resolved** problem, **Retry sync** first closes the linked issue if it isn't closed yet. If sureops already closed it, Retry re-pushes the title and root cause instead; on Linear that also moves the issue back to the resolved workflow state; an issue someone reopened in GitHub stays open, so close that one there directly. It never creates a replacement for a resolved problem's deleted issue — a deleted issue counts as closed. A resolved problem that was never pushed gets its issue created and then closed.

A failed first push, or a failed replacement of a deleted issue, can be retried up to three times. Closing a resolved problem's issue also gets three retries after the automatic close; resolving the problem again after a failed close uses one of them. After that the card says sureops has stopped retrying and the problem stays failed until support recovers it: close the issue in your tracker directly if it's still open, and contact [hello@sureops.ai](mailto:hello@sureops.ai).

***

## Troubleshooting

> [accordion] New problems don't appear in GitHub
>
> Check that **Mirror automatically** is on in **Settings → Organization → Issue Tracking**. Problems created while it was off aren't pushed retroactively — open each one and click **Sync to tracker** on its **External tracker** card.

> [accordion] "Integration not healthy" or "MCP unavailable"
>
> The integration exists but is in an error state — authentication may have lapsed or the integration service is temporarily unreachable.
>
> **Fix:**
>
> 1. Ask your Admin to check **Settings → Environment → Integrations** for GitHub
> 2. If the health indicator is red, contact your sureops onboarding contact or [hello@sureops.ai](mailto:hello@sureops.ai) to have the GitHub App connection repaired. Don't disconnect it yourself — disconnecting deletes the connection, and only sureops can set it up again
> 3. Once it's healthy, click **Retry sync** on the problem's **External tracker** card

> [accordion] "Repository not found"
>
> The target repository configured for tracker sync doesn't exist or isn't accessible to sureops.
>
> **Fix:**
>
> 1. Verify the repository name is exactly correct, in `owner/repo` format (check for typos, extra slashes, or URL vs. path format issues)
> 2. Confirm the sureops GitHub App installation has access to the target repository — an owner of your GitHub organization can check this under the organization's **Settings → GitHub Apps** on GitHub (sureops doesn't list which repositories the App can reach)
> 3. Fix the **Repository** in **Settings → Organization → Issue Tracking** if it's wrong. That applies to problems created from then on; a problem that already failed keeps retrying against the original repository, so contact [hello@sureops.ai](mailto:hello@sureops.ai) to have it moved

> [accordion] "Issue created but push status shows failed"
>
> The issue was created in GitHub but sureops couldn't store the external issue ID — the card shows "tracker sync failed while recording the result". This is usually caused by a brief error while saving the result, but it doesn't clear on its own.
>
> **Fix:** **Retry sync** can't fix this one — it keeps showing the same error rather than creating another issue. Don't file the issue by hand; contact your onboarding contact or [hello@sureops.ai](mailto:hello@sureops.ai), and sureops will link the issue that already exists. The same applies if the error says the issue may have landed and couldn't be reconciled. If the problem is already resolved, click **Retry sync** once the issue is linked to close it.

> [accordion] Push shows a failed status
>
> A failed push stays failed until someone acts on it — sureops does not automatically retry it.
>
> 1. Check **Settings → Environment → Integrations** to confirm GitHub's health is green. If the App's permissions or repository access were revoked, have an owner of your GitHub organization restore them on GitHub, or contact [hello@sureops.ai](mailto:hello@sureops.ai)
> 2. Click **Retry sync** on the problem's **External tracker** card. On a resolved problem this retries closing the issue. If the card says sureops has stopped retrying (after three failed retries), close the issue in your tracker directly if it's still open and contact [hello@sureops.ai](mailto:hello@sureops.ai)

***

## Related

* [Recurrence chains](https://docs.sureops.ai/problem-management/recurrence-chains.md) — track incidents that match the same problem pattern over time
* [Roles & Capabilities](https://docs.sureops.ai/administration/roles-and-capabilities.md) — understand which roles can push problems to your tracker


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.