Inspiration
Engineering teams write Architecture Decision Records (ADRs) in Confluence so hard-won decisions stay documented — then months later a new Jira ticket quietly proposes the exact rejected database, auth flow, or pattern because nobody remembers page #47 in the wiki. Precedent closes that gap inside Jira and Confluence automatically.
What it does
- Confluence Decision Ledger: Indexes any Confluence space (e.g.,
ARCH) and extracts structured decision metadata (title, status, chosen approach, rejected alternatives, constraints) into Forge storage. - Real-time Jira Conflict Checker: On every Jira issue, the Precedent Issue Panel compares the ticket against all accepted ADRs and flags Conflict (with the exact violated ADR and rejected option), Review, or Clear.
- Confluence Content Byline: Shows every Jira issue currently citing or conflicting with a Confluence ADR right on the decision page.
- Rovo Agent ("Precedent Advisor") & Atlassian MCP: Developers and AI agents can query recorded decisions, check a draft ticket for ADR conflicts, or summarize architectural precedent via Rovo Chat or MCP tools.
How we built it
- 100% Runs on Atlassian (Forge
2.0.0): Zero external servers or third-party databases. All indexing, conflict analysis, and storage run natively inside Atlassian Forge for Jira and Confluence. - UI Kit & Custom UI: Fast Jira Issue Panel, Project Decision Ledger, Confluence Content Byline, Rovo Agent actions, and Atlassian MCP integration.
- Live verified: Production-deployed and installed on Jira + Confluence, with
ARCHindexed and live conflict detection verified onPLAT-1(flagging MongoDB againstADR-001: PostgreSQL-only persistence).
Challenges we ran into
- Extracting clear chosen-vs-rejected signals from real-world Confluence ADR prose without noisy false positives.
- Keeping conflict analysis deterministic, explainable, and fast inside Forge runtime limits.
Accomplishments that we're proud of
- 184/184 automated tests passing with 98.2% statement coverage.
- 0 ESLint warnings, 0 TypeScript errors, 0
forge lintissues, and 17/17 browser QA checks passing. - Eligible for Runs on Atlassian on production Forge deployment.
What's next for Precedent
PR-level conflict checks in Bitbucket, automatic ADR drift alerts when accepted decisions are superseded, and multi-space organization-wide precedent search.
Built With
- atlassian-forge
- atlassian-mcp
- confluence
- jira
- node.js
- react
- rovo
- typescript
- vitest