Inspiration
In March 2027 I start eighteen months of mandatory military service. When I thought about what my team would lose, it wasn't my code — it was the context in my head: why an issue is stuck, what we already decided in a comment thread three weeks ago, who else has touched the work, which question is still waiting for an answer. Every team loses that context when someone goes on vacation, parental leave or changes jobs, and the usual "handover doc" is written in a hurry or not at all.
What it does
Baton turns a person's open Jira work into a handover the team can actually use.
- Who & when — pick who is leaving and when they're back.
- Review plan — Baton reads every open issue assigned to that person (comments, changelog, watchers, reporter, issue links) plus their recent Confluence pages, and shows:
- a risk level per issue with reasons: due while you're away, blocked by another issue, a question nobody answered, no recent note, nobody else has ever touched it;
- a recommended successor per issue and why ("mentioned 2×, reporter, watching"), with a workload penalty so one colleague doesn't get everything; work nobody else knows is flagged needs an owner and you pick from the team;
- decisions pulled out of comments ("Decided…", "agreed", "going with…") and questions still waiting for an answer.
- Hand over — one click reassigns the issues, leaves a context comment on each (with an @mention of the new owner), stores the handover on the issue, and publishes a Confluence handover page.
- Issue panel — months later, the new owner opens the issue and the context is right there: previous owner, last note, what to watch out for, decisions, open questions.
- Rovo agent + MCP — a Rovo agent ("Baton") with four actions — get an issue's handover, find who holds context on an issue, draft my handover, list who is away — also exposed as tools through the Atlassian MCP server, so third-party agents can use the same handover data.
How we built it
Baton is a Forge app (Node.js 24 runtime) with:
jira:globalPageandjira:issuePanelbuilt with UI Kit (ProgressTracker, DynamicTable, Tabs, Lozenges, Select).- A shared analysis module used by the page, the panel and the Rovo actions, so all three always give the same answer.
- Jira REST (search/jql, issue with changelog, watchers, assignee, comments, issue properties) and Confluence REST v1 search + v2 pages, all called
asUser()— Baton only sees and changes what the current user can. - Forge KVS for the list of active handovers; issue properties (
baton.handover) so the record travels with the issue. rovo:agentwith 4actionmodules (each its own function) and arovo:mcpmodule exposing the same actions.- The analysis is deterministic (no LLM calls): successor scoring = comments×3 + edits + mentions×2 + reporter×2 + watching, with a load penalty; risk rules are explicit and shown to the user. Fast, explainable, and free to run.
Challenges we ran into
- Getting realistic multi-person demo data on a free developer site (permissions for reporter/watchers, 25-second function limit — we split seeding into one call per issue).
- Issue-link direction: making sure "is blocked by" is read from the right side of the link.
- Re-running a handover for the same person on the same day collided with an existing Confluence page title; Baton now keeps the old page and publishes a timestamped revision.
- Our free developer site didn't include Rovo chat, so the video shows the Jira experience; the agent and MCP modules are in the manifest and ready on sites with Rovo.
Accomplishments that we're proud of
- A full loop in one screen: analyse → explain → hand over → the context lives on the issue.
- Every recommendation comes with a reason a human can check.
- Zero external services and zero AI cost.
What we learned
Most "lost context" is already in Jira — scattered across comments, watchers and links. The hard part is surfacing it at the right moment and making it explainable enough that people trust the suggestion.
What's next for Baton
- Teamwork Graph signals (goals, teams, recent collaborators) for better successor ranking.
- A "welcome back" summary that shows the returning person what changed on their old issues.
- Scheduled reminders before a planned leave, and Marketplace listing.
Built With
- confluence
- forge
- forge-ui-kit
- javascript
- jira
- node.js
- react
- rovo