Inspiration

Shipping production changes safely rarely fails because engineers forget to write code — it fails because release context is fragmented. Before a deployment, engineers bounce across Jira issue descriptions, linked is blocked by dependency chains, unlinked Confluence runbooks, Architecture Decision Records (ADRs), historical incident postmortems, and scattered security sign-offs.

For Codegeist 2026: Build with context. Ship with confidence., we built ShipGuard Context — a 100% Atlassian-hosted Forge app that synthesizes live Jira + Confluence organizational context into deterministic, auditable release-readiness verdicts directly where teams work (Jira Custom UI), where teams ask questions (Rovo Reviewer Agent), and where AI coding/ops tools connect (Atlassian Forge MCP Server).


What It Does

ShipGuard Context delivers four tightly integrated capabilities powered by a single serverless Forge backend:

  1. Jira Issue Panel (jira:issuePanel) — Embedded directly inside every Jira issue, displaying an instant 0–100 readiness score and explicit SHIP / HOLD / BLOCK verdict across 6 weighted engineering gates:

    • Dependency Blockers (25 pts, Hard Block): Flags unresolved is blocked by dependencies and active P0/P1 blocker bugs.
    • Rollback & Runbook (20 pts): Checks explicit rollback/canary/feature-flag plans and linked or auto-discovered Confluence runbooks.
    • Acceptance & Verification (20 pts): Evaluates structured acceptance criteria, test/CI proof, and SLO verification signals.
    • PR & Code Review (15 pts): Detects approved PR references or pr-approved sign-off labels.
    • Security & Blast Radius (10 pts, Hard Block): Flags auth/OAuth/JWKS/PII/payment surfaces lacking a recorded security sign-off in Forge KVS.
    • Incident & Postmortem Context (10 pts): Automatically cross-matches historical Confluence postmortems (INC-*, RCA) for the service domain.
    • Includes 1-click Approve/Revoke Security Sign-off, 1-click Post Gate Comment (structured ADF brief written directly to Jira), and 1-click Create Confluence Brief (formatted Confluence Release Gate page via API v2 + automatic Jira remote link).
  2. Jira Release Readiness Console (jira:projectPage) — A full-project triage workspace with aggregate readiness KPIs, risk-first filtering (All / Block / Hold / Ship), live search, split-screen sticky Issue Inspector, and a persistent Audit Trail backed by Atlassian Forge Key-Value Storage (@forge/kvs).

  3. Rovo Reviewer Agent (rovo:agent — Best Agents Bonus) — ShipGuard Reviewer lets engineers ask "Is SHIP-2 ready to deploy?", "Audit release readiness across project SHIP", or "Find Confluence runbooks and postmortems for SHIP-2" in natural language, grounded exclusively in live Jira and Confluence tool results.

  4. Atlassian Forge MCP Server (rovo:mcp — Best App with Atlassian MCP Bonus) — ShipGuard Context MCP exposes all 4 live Forge action tools (evaluate-issue-readiness, audit-project-release, find-related-runbooks, publish-release-gate-brief) via Model Context Protocol for Rovo Studio and MCP-compatible AI clients.


How We Built It

  • 100% Serverless on Atlassian Forge (Runs on Atlassian Eligible): Zero external API calls, zero external databases, zero third-party LLM egress. Deployed on nodejs24.x / arm64 with app.compatibility spanning Jira (required) and Confluence (optional cross-product).
  • Deterministic Scoring Engine (src/engine.js): Zero-dependency pure scoring engine evaluated identically in Forge runtime and Node unit tests (node --test, 4/4 passing).
  • Live Atlassian API Integration (src/atlassian.js): Uses @forge/api (api.asApp().requestJira v3 + requestConfluence v2 & CQL search with live content-list fallback for newly created pages) and @forge/kvs for durable site-scoped audit trails.
  • Strict-CSP Custom UI (esbuild + @forge/bridge): Zero inline scripts, zero external CDN fonts/scripts, crisp editorial typography with tabular numerals, full HTML escaping in the UI, and XML escaping for Confluence Storage XHTML generation.

Challenges We Ran Into & Solved

  • Multi-Product Context & Scope Hygiene: Configuring app.compatibility (Jira + Confluence) alongside exact Confluence v2 + CQL scopes so forge lint passes with zero issues while ensuring freshly created Confluence runbooks are discoverable immediately even before CQL search indexing completes.
  • Preserving Stateful Security Sign-offs in Forge KVS: Ensuring follow-up actions (like posting a Jira gate comment or creating a Confluence brief) merge with existing shipguard:audit:<issueKey> KVS records rather than overwriting an engineer's securityApproved sign-off.
  • Confluence Storage XHTML Safety: Properly escaping Jira issue titles and gate details (escapeXml) before generating Confluence Storage Format tables so titles containing &, <, or > never cause 400 XHTML validation errors.
  • Strict Forge Custom UI CSP: Bundling @forge/bridge into standalone IIFE bundles with esbuild, routing outbound links through router.open, and shipping a clean zero-inline-script UI verified across multiple viewports with zero horizontal overflow.

Accomplishments We're Proud Of

  • Deployed cleanly to Atlassian Forge Production (v2.2.0) with forge lint reporting No issues found and verified eligible for Atlassian's Runs on Atlassian program.
  • Single unified set of 4 Forge action primitives simultaneously powers the Jira Issue Panel, Jira Release Console, Rovo Reviewer Agent (rovo:agent), and Forge MCP Server (rovo:mcp).
  • Built an ultra-clean, high-signal engineering UI inspired by Atlassian Design System & Linear — putting the SHIP / HOLD / BLOCK verdict and blocking root cause in front of the engineer in under 1 second.

What's Next

  • Adding Atlassian Teamwork Graph ingestion for automated deployment-event correlation and incident-recurrence scoring.
  • Adding Bitbucket PR merge-check hooks and customizable per-project gate weight policies stored in Forge KVS.
  • Publishing ShipGuard Context to the Atlassian Marketplace.

Built With

Share this project:

Updates

Submission history