Skip to content
Open studio
Menu

Tickets

Connect Linear, GitHub, Jira Cloud or a webhook, and how Patchrally files repro tickets for you or on request.

Connect your tracker#

A ticket is an issue Patchrally writes in your tracker for one bug, with steps to reproduce it. Only owners and admins can change these settings.

To choose where tickets go:

  1. Open your game’s Settings tab and go to Ticketing.
  2. Under Provider, pick Linear, GitHub Issues, Jira Cloud or Webhook (Zapier, Make, n8n or your own).
  3. Fill in the fields for that provider (below), then save.
  4. Under Integration secrets, enter the provider’s key and select Save. Secrets are write-only: the page shows only Configured or Not set.

Fields for each provider:

  • Linear: Linear team ID, and the Linear API key secret. It needs issue write access. You create the key in Linear under Settings, API, Personal API keys.
  • GitHub: GitHub repository as owner/name, and the GitHub token secret. Use a fine-grained token with Issues: read and write on that repository.
  • Jira Cloud: Jira site (like yourstudio.atlassian.net), Project key (like GAME in GAME-123), Issue type (Bug when left empty) and Atlassian account email. Then the Jira API token secret, created at id.atlassian.com, Security, API tokens, while signed in as that email. Tickets are filed as that account.
  • Webhook: the Ticket webhook URL secret. It must be a public https address on the default port. Each ticket is sent there as JSON (see Webhook format below).

The Tickets tile at the top of Settings reads Configured once the provider, its fields and its secret are all saved.

What a ticket contains#

The AI writes each ticket from the bug’s newest 10 reports, with their text, build, OS, GPU, level, the player’s last in-game events and the end of the game log when the in-game reporter sent them. A ticket has:

  • A title.
  • A header with severity (critical, high, medium or low), category, reports, upvotes, verified owners and their hours, and the self-reported count.
  • Sections: Reproduction steps, Expected vs actual, Suspected root cause (hypothesis) and Affected hardware.
  • Up to 3 screenshots from in-game reports.
  • Sometimes Review notes, listing sections the AI could not match to the reports.
  • A last line, Patchline ref: …. Leave it in place: if an attempt times out, the retry looks for this line so it doesn’t file the same ticket twice.

Links and images from player text are removed, and @ mentions can’t ping anyone. Treat the steps and the root cause as a starting point: they come from what players wrote.

Automatic tickets#

On Indie, Studio and Scale, Patchrally files tickets by itself. On the free Next Fest plan, and on any game set to Review first, a person files each one. See Plans and billing.

A bug gets an automatic ticket when either is true:

  • It reaches the Auto-ticket threshold in Settings (10 for a new game). It counts reports and votes, plus extra weight for verified playtime (see The triage queue). Patchrally adjusts the threshold per category as tickets get closed or undone. The meter on each row shows the threshold that applies to that bug. A bug that came back after a shipped fix needs half.
  • It is a crash with at least 3 reports from at least 3 different players. Reports not tied to a Discord or Steam player count as one player together.

The ticket then waits 15 minutes. The row reads “Auto-ticket files at 3:42 PM unless you undo it.” Select Undo auto-ticket to stop it: Patchrally offers it again only after a new report, and counts the undo as a ticket that wasn’t needed. Select File now to skip the wait.

Automatic tickets are limited to 10 per game per hour. A bug over the limit is checked again on its next report or vote. You may also see “Auto-ticket on hold: reports are too vague to reproduce yet.” or “… don’t describe anything actionable.” The AI checks again when the next report arrives.

To turn automatic tickets off for one game:

  1. Open the game’s Settings tab, section Game.
  2. Switch Act by default to Off, Review first. It saves right away and also stops patch notes from publishing themselves.

File a ticket by hand#

Every plan can file tickets by hand, and any member of the studio can do it.

  1. Open the Triage tab.
  2. On the bug’s row, select File ticket. The button reads Ticket queued while it is filed.
  3. When it is done, the Ticket column links to it (Linear, GitHub or Jira). Webhook tickets show Webhook until your receiver sends back a link.

Each game can file 10 tickets by hand per hour.

Ticket status sync#

Status sync brings your tracker’s changes back into Patchrally. Nothing is posted to players:

  • Closed as done: a Planned or In progress bug moves to In testing, so you can verify and ship it.
  • Closed as won’t fix or duplicate: recorded only.
  • Reopened: a bug that sync moved goes back where it was. A shipped fix counts as “Came back”.

To set it up:

  1. In Settings, go to Ticket status sync. It appears once a provider is saved.
  2. Select Copy URL next to Status webhook URL.
  3. Select Generate secret and copy it. It is shown once. For Linear, paste the signing secret Linear shows into Linear signing secret instead.
  4. Add a webhook in your tracker with that URL and secret. GitHub: repository Settings, Webhooks, content type application/json, Issues events. Linear: Settings, API, Webhooks, Issues. Jira: a Jira admin creates a WebHook with the JQL filter project = <your key> and Issue updated.

Without the webhook, Patchrally still checks open Linear, GitHub and Jira tickets every hour or so. Generating a new secret replaces the old one at once, so update your tracker too.

Webhook format#

With the Webhook provider, each ticket is a POST of JSON to your Ticket webhook URL. In the body, cluster is the bug:

{
  "event": "ticket.create",
  "deliveryId": "ticket-<bug id>",
  "sentAt": "2026-11-18T13:30:00.000Z",
  "game": { "id": "<game id>", "name": "Your Game" },
  "cluster": {
    "id": "<bug id>",
    "title": "Crash when loading an Act 2 save",
    "category": "crash_fatal",
    "severity": "critical",
    "reportCount": 38,
    "upvoteCount": 12,
    "verifiedContributions": 20,
    "selfReported": 30,
    "verifiedPlaytimeHours": 410,
    "hardware": ["RTX 3060"]
  },
  "ticket": { "title": "…", "markdown": "…" },
  "screenshots": ["https://…"],
  "statusCallback": { "url": "https://…/v1/ticket-sync/webhook/<game id>", "ref": "<bug id>" }
}

Headers:

  • x-patchline-event: ticket.create
  • x-patchline-delivery: the same as deliveryId, and the same on every retry, so you can drop duplicates.
  • x-patchline-timestamp: Unix time in seconds.
  • x-patchline-signature: sha256= and the hex HMAC-SHA256 of the timestamp, a dot and the raw body, keyed with your status sync secret. It is only sent once you generate that secret.
// Node.js
const expected = "sha256=" + crypto
  .createHmac("sha256", secret)
  .update(timestamp + "." + rawBody)
  .digest("hex");

Answer with any 2xx status within 15 seconds and the ticket counts as filed. Redirects are refused. To link the ticket you created, reply with JSON like {"url": "https://…"}.

To report a status change, POST to statusCallback.url with the header Authorization: Bearer <secret> (or sign it the same way as above, within 5 minutes):

{ "ref": "<statusCallback.ref>", "state": "closed", "resolution": "completed", "url": "https://…" }

state is open or closed. resolution is completed or not_planned. url is optional and attaches the ticket link.

Troubleshooting#

“Ticket filing failed” on a row: the row shows the error from your tracker, and the Ticket column reads Failed. Automatic tickets try 3 times, 5 and then 10 minutes apart. Fix the cause, then select File ticket to start again. Common causes:

  • A key that was revoked, expired or lacks issue write access: enter a new one under Integration secrets.
  • A wrong team ID, repository, Jira site or project key.
  • Webhook: “webhook returned 404” or another status means your receiver refused it. “webhook host resolves to a private address” means the URL points at a private network, which is not allowed.

Messages when you file or save:

  • “No ticket tracker is set up for this game. Add one in Settings.”: a provider, one of its fields or its secret is missing. The Left to set up list in Settings names it, such as “Add the Linear team ID”.
  • “This game has filed 10 tickets by hand in the last hour. Try again later.”: wait for the hour to pass.
  • “Use your Jira Cloud site, like yourstudio.atlassian.net.”, “Use the project key from your issue keys, like GAME in GAME-123.”, “Use the name of an issue type in the project, like Bug.” or “Enter the email of the Atlassian account the API token belongs to.”: correct that Jira field.
  • “Use a public https URL on the default port, like a Zapier or Make webhook.”: the webhook URL was rejected.

Status sync shows Not set: Settings lists “Generate the status sync webhook secret” or “Add the Linear signing secret for status sync”. Do that step in Ticket status sync.