Inspiration

What it does

How we built it

Challenges we ran into

Accomplishments that we're proud of

What we learned

What's next for Baton

Inspiration

Work changes hands constantly. Someone goes on leave, an issue is reopened after three months, a new engineer picks up a stale ticket. The ticket records what is being built; the why is scattered across a February comment, a postmortem in Confluence, a changelog entry, and one person's memory. The next owner either rebuilds the decision from fragments or re-litigates something the team already settled. Both waste days, and neither shows up in any report.

Atlassian's Codegeist 2026 theme is exactly this: the right knowledge in front of the right people at the right moment. Baton makes it concrete for the highest-cost moment in software work: the transfer of ownership.

What it does

Baton is a Forge app that assembles a handoff brief for a Jira issue from the context that already exists: the issue, its comments, its changelog, its links, and the Confluence pages that mention it. It ranks those facts by how load-bearing they are, names the risks that would burn the next owner, and puts a confidence number on the whole thing.

The brief answers five questions, in order:

  1. What is the current decision? The newest un-superseded decision, quoted.
  2. What else carries weight? Ranked context with a stated reason for each rank: which terms it shares with the issue, whether it is a decision or an incident, who wrote it, and how recent it is.
  3. What is no longer true? Baton detects supersession language ("instead of", "no longer", "superseded") and quotes the statement that retired earlier facts.
  4. What is missing? Gaps such as no recorded decision, no spec, a single source, or a stale owner, each with a severity.
  5. How much of the story is actually recorded? A confidence score from five coverage buckets (decision, spec, history, people, recency) minus penalties for stale, drifting or single-source context. The score is not a black box: the buckets and penalties are listed.

Open a thin ticket and the brief is honest about it: confidence drops, the label changes to thin, and the first suggested action is to write the decision down.

There is no LLM in the loop. Every line is traceable to a specific comment, changelog entry or page, and every rank explains itself.

How we built it

  • Forge app: a jira:issuePanel for the sidebar, a jira:issueAction to post the brief as a comment and record a handoff, and a jira:globalPage for handoff health across recent transfers.
  • Jira and Confluence integration: the resolver reads the issue with its comments and changelog through asApp().requestJira, and runs a Confluence CQL full-text search for pages that share terms with the issue.
  • Rovo: a rovo:agent ("What do I need to know before I take this on?") plus two reusable rovo:action modules, and rovo:mcp tools that expose the same two actions as MCP tools.
  • Deterministic engine: tokenisation, term-overlap scoring, decision/incident/spec classification, supersession detection, gap detection and the confidence model all live in shared TypeScript, unit-tested without a network.
  • Storage: Forge KVS keeps the last brief fingerprint and confidence per issue, and the handoff records that drive the health page.
  • UI: React Custom UI, with a local preview mode that runs the same engine over recorded snapshots so the screenshots and video show real output.

No external egress: the manifest declares no external permissions and a verifier checks that no source file calls a non-Atlassian host. The app is eligible for Runs on Atlassian.

How it meets the technology requirement

Baton is built on Atlassian Forge and integrates several Atlassian platform capabilities: Jira (issue panel, issue action, global page), Confluence (full-text search and page reads), Rovo (agent and reusable actions), and the Atlassian MCP server (rovo:mcp). It is installable through a Forge distribution link and was tested on a real Jira Cloud site.

Challenges we ran into

  • Detecting supersession without a model. A summary cannot tell you that a decision was retired. We used explicit replacement language plus term overlap to find the statement that retires an earlier fact, and quote both.
  • Ranking that explains itself. Recency alone puts yesterday's status change above February's architecture decision. We score load-bearing weight separately from recency, and print the reason for every rank so a reader can disagree with it.
  • Making a thin brief useful. An empty result is a failure mode. When nothing is recorded, Baton says so, lowers the confidence, names the gap, and suggests writing the decision down.
  • The Custom UI bridge. The panel request shape is {call: {functionKey, payload}, context}; handling that correctly was the difference between an empty brief and a working app.

Accomplishments that we're proud of

  • A real, installable Forge app, not a mock: production deployment, distribution link, and a recording of the live Jira UI.
  • A confidence score you can argue with, built from named coverage buckets rather than a model's vibe.
  • 23 unit tests, a TypeScript build, and an offline verifier for the manifest, handlers, egress and resource bundle.
  • A thin brief that is honest instead of empty.

What we learned

Context is not a summary. The valuable part of a handoff is the reasoning: which decision still holds, what replaced it, and who is the only person who knows. A short brief with a stated reason for every line beats a longer one that hides its reasoning.

What's next

  • Teamwork Graph integration: pull goals, decisions and outcomes from the graph instead of only Jira and Confluence text.
  • Cross-project handoffs: detect when an issue's context lives in another project or space.
  • A Marketplace listing, once the app has a support and privacy story for external customers.
  • Richer supersession: link the retiring statement to the retired fact so the UI can show the pair side by side.

Bonus prizes

Best Agents. Baton ships a rovo:agent (the Baton handoff agent) and two reusable rovo:action modules (baton-handoff-brief, baton-handoff-health) that other agents can invoke as tools.

Best app with Atlassian MCP. Baton exposes the same two actions as MCP tools through rovo:mcp, so a third-party agent can ask for a handoff brief or a handoff-health report.

Try it out

Install link (Forge distribution, Jira Cloud):

https://developer.atlassian.com/console/install/d4b8eba7-1a10-41ca-854a-81e813416e32?signature=AYABeBqs%2Bn5GTF3xYzSn3%2BvgKcYAAAADAAdhd3Mta21zAEthcm46YXdzOmttczp1cy13ZXN0LTI6NzA5NTg3ODM1MjQzOmtleS83MDVlZDY3MC1mNTdjLTQxYjUtOWY5Yi1lM2YyZGNjMTQ2ZTcAuAECAQB4CxqLTo9l4lqXuFjNim1xJM%2Bp%2F3TVP9xHS2BrU5DRRucBdA8MnOwmNim0gXDGk3VeDwAAAH4wfAYJKoZIhvcNAQcGoG8wbQIBADBoBgkqhkiG9w0BBwEwHgYJYIZIAWUDBAEuMBEEDEe04J8FhNqdTiiB%2BQIBEIA7tIZznat%2FwVdY5jdUcw1LhnfkzQMLo9IAwHbJOBjfXfkc2W0DMrDSm0%2FDGXFPrMbQgez10C0cl6x0j3MAB2F3cy1rbXMAS2Fybjphd3M6a21zOmV1LXdlc3QtMTo3MDk1ODc4MzUyNDM6a2V5LzQ2MzBjZTZiLTAwYzMtNGRlMi04NzdiLTYyN2UyMDYwZTVjYwC4AQICAHi9bVMAkme4qVQX1fQHo6ePw3H40A7cGfz7yrmSfBWMXgHjZ83qJGzBEXtNiYWo3Q6%2FAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMsfaznYQj%2B2iQKi6UAgEQgDv%2B4UNJBwVG%2Bo5zcKhDLN9SsU18kfUGTBV4WprZgoWjraO1U%2Bq4vvpKaXBok26JI2WAv0g2bacyW%2FUY0wAHYXdzLWttcwBLYXJuOmF3czprbXM6dXMtZWFzdC0xOjcwOTU4NzgzNTI0MzprZXkvNmMxMjBiYTAtNGNkNS00OTg1LWI4MmUtNDBhMDQ5NTJjYzU3ALgBAgIAeDYASx0XCjkny4iLV6vz%2BKtEGSGT6kdt0QRpkn6D%2FlVEAQ5hZryAjR62fLhG2GZHfuwAAAB%2BMHwGCSqGSIb3DQEHBqBvMG0CAQAwaAYJKoZIhvcNAQcBMB4GCWCGSAFlAwQBLjARBAw9LHamWqYBOUgpV0ECARCAO4IFtfIa%2BaiHLu0CrZ5LqgnrzeP7sjafcDScPbxxjD2cCk7SXGvuYHktTy1rnI%2FRKKYmBkOQny1tROj0AgAAAAAMAAAQAAAAAAAAAAAAAAAAAHEpadRS93qCeGRLAYiqJFD%2F%2F%2F%2F%2FAAAAAQAAAAAAAAAAAAAAAQAAADKAz8Fb1AJ0hvAw9ORcpSGOCL%2FWvt7Avyk50b%2Fggma4nB%2Fjxk1OBsukVJNYxVtdgyOXYDMhqJScc3KxymrI4W5Sm8E%3D&product=jira

The install asks for six scopes (read:jira-work, write:jira-work, read:jira-user, read:confluence-content.all, search:confluence, storage:app). After installing, open any Jira issue. If the Baton panel is not already in the issue view, open the app actions menu (the grid icon next to Share) and pick Baton handoff brief once; Jira remembers it for that issue view.

To see a rich brief quickly, add two comments to an issue: "We decided X because Y", then later "We now do Z instead of X". Reload the panel: the new decision is the headline, the old fact is marked superseded, and the confidence changes.

Source: https://github.com/afei8732-hub/baton (MIT)

Share this project:

Updates

Submission history