When it opens an issue
A handoff destination is an alert destination: rules send to it like to Slack. It takes two presets:- New issue (
new_issue), withmin_usersfor “a new crash with more than N users”, and optionally arelease. - Crash-free sessions (
crash_free_below): one issue when the rule fires, naming the crash groups behind the drop; when it resolves, Apsio comments on that issue and leaves it open.
Hand off from an issue
Any member can hand one issue to the agent from its page, without a rule: Hand off picks one of the organization’s GitHub or Linear destinations (it must be on). The issue is opened as a rule would open it, with the same content, and counts toward the same daily cap; handing the same issue to the same destination again shows the issue opened before. The audit log records who handed it off and where (issue.handoff).
The issue page lists the issue’s handoffs (GET /v1/projects/{projectId}/issues/{issueId}/handoffs),
each with its GitHub or Linear issue and, for GitHub, the pull request that references it:
its number, link and state (draft, in_review, merged or closed), read from the issue’s
timeline at most every 10 minutes. Apsio reads only what the App’s Issues access already shows
(the pull requests of the same repository that mention the issue); the diff stays in GitHub.
What the issue says
- The numbers: users affected, occurrences, sessions, first and last seen, releases and devices.
- The in-app frames of the latest occurrence (up to 20), with file paths relative to your
project: the build machine’s part (
/Users/<name>/..., a CI checkout) is removed. - The breadcrumbs before it in its session (screen and lifecycle names; other breadcrumbs only as their kind) and the requests in the 10 minutes before it, as templated routes with their status.
- Links to the issue in the console and to the MCP tools (
get_issue,search_sessions).
Set it up
Only owners connect, choose and turn on; admins can turn it off.- In Settings › Agents and tokens, under Agent handoff, choose Connect GitHub or
Connect Linear.
- GitHub: install the Apsio App on the repositories you choose. It asks for Issues: write and Metadata: read only, and cannot read or write code. You can only choose a repository you can push to yourself; Apsio checks it again when the destination is turned on.
- Linear: authorize the Apsio app. It acts as itself (issues are created by the app, not by
a person) with the
read,issues:createandcomments:createscopes.
- Back in Apsio, choose the repository or the team, and a name. The destination is created off.
- Choose Turn on, and type where issues go (for example
github.com/acme/app) to confirm. Your organization’s audit log records who turned it on, when, and where. - Add a rule with the New issue or Crash-free sessions preset that sends to it.
Turning it off
- Turn off on the destination stops it at once: nothing pending is sent.
- Disabling or deleting the rules that send to it, or deleting the destination, stops it too.
- Uninstalling the App on GitHub (or removing the repository from it), or revoking the app in Linear, revokes the destination: Apsio sends nothing more until an owner connects again.