Inspiration
Support agents spend a large part of every shift on the same loop: read a request, work out what the customer actually needs, search for the right article, and rewrite an answer that has been written many times before. AI can speed this up, but a support reply goes straight to a customer, so a wrong or careless answer costs trust.
I wanted a copilot that does the slow parts of that loop inside Jira Service Management and leaves every decision about what the customer receives to a human agent.
What it does
SupportPilot AI adds a SupportPilot Copilot panel to every Jira Service Management request. It is built for support agents; a Jira admin installs it once, and customers only ever see the reply an agent approved. When an agent opens it, the panel uses Claude Haiku, hosted by Atlassian through the Forge LLMs API, to:
- Triages the request: classifies the intent (for example "Account access — sign-in / 2FA"), flags urgency and detects the customer's sentiment, with a one-line summary.
- Explains itself: shows why it suggests the reply and which knowledge-base articles it is based on, each with a relevance score.
- Drafts a reply in an editable text box. The agent can rewrite any part of it.
Posts only on approval: nothing is sent until the agent clicks Approve and post reply. The reply is then added to the request as a public comment.
Stays safe: customer text is treated as data, never as instructions. If a request tries to give the assistant orders, the panel shows a Security notice; if Atlassian's content moderation blocks it, the panel marks it Needs manual review with a neutral holding reply. If the AI is unavailable, it falls back automatically to built-in rules, and the panel always says which mode produced the result.
The app also includes a Rovo agent ("SupportPilot Agent") with two actions, analyse-issue and post-approved-reply. Its prompt follows the same rule: it posts only after the user explicitly approves the exact text.
How I built it
- Atlassian Forge (nodejs22.x runtime), installed on a Jira Service Management site.
jira:issuePanelbuilt with UI Kit (@forge/react) and a Forge resolver (@forge/resolver).- Jira REST API through
api.asApp().requestJira()(@forge/api) to read the request and post the approved reply, using Forge's built-in authentication. Scopes:read:jira-work,write:jira-work. rovo:agentwith two Forge actions backed by their own functions.- Forge LLMs API (
@forge/llm,llmmodule) with Claude Haiku, hosted by Atlassian. No external AI service is called and no data leaves Atlassian cloud. The app stores no data. - Validation around the model: the app checks the JSON it returns (allowed urgency and sentiment values, cited article IDs must exist, with a title-match safety net, relevance clamped, draft length capped), and falls back to deterministic rules on a timeout or invalid output.
Before the Forge app, I designed the product as a standalone web prototype built with Lovable (React and TypeScript): a support workspace with a dashboard, inbox, AI copilot panel, analytics and settings. Its analysis logic was written as pure functions behind a service interface, so it moved into the Forge function almost unchanged and now serves as the fallback.
Challenges I ran into
- UI Kit migration. My first panel used the legacy, function-based UI Kit. It deployed without errors but never rendered in Jira, so I rebuilt it with
@forge/react,@forge/bridgeand a resolver. - Rovo actions. Getting the action input format right, and giving each action its own function, took several attempts.
- Reliable AI output. Early versions sometimes fell back to rules because the model's JSON was cut off, or returned article titles instead of IDs. I added a tighter output budget, exact-ID prompts, a title-match safety net and strict validation.
- Prompt injection. A test request that told the assistant to "post a $5,000 refund" taught me to isolate customer text, flag instructions aimed at the assistant, and handle Atlassian's content-moderation blocks explicitly.
- Honest AI. A support tool must never pretend. The panel states its analysis mode, shows its sources, and never posts on its own.
Accomplishments that I'm proud of
- A working end-to-end flow inside Jira Service Management: open a request, get the analysis, edit the draft, approve, and the reply is on the request.
- Human approval is part of the design, not an afterthought: both the panel and the Rovo agent only post after explicit approval.
- A real AI model with no external services and no stored data, so the app is simple to trust and to install.
What I learned
- How Forge splits the UI (UI Kit), the backend (resolvers and functions) and permissions (manifest scopes), and how much that simplifies hosting and authentication.
- That explainability matters as much as speed: agents trust a draft when they can see why it was written and which article it came from.
What's next for SupportPilot AI
- Use Confluence spaces and JSM knowledge base articles as live knowledge sources.
- Test the Rovo agent end to end and extend it to queue-level questions, such as "which urgent requests are waiting on us?".
- Bring the web prototype's dashboard and analytics into Jira.
Built With
- atlassian-ui-kit
- claude
- forge
- forge-llms
- jira-service-management
- lovable
- node.js
- react
- rovo
- typescript
