A Forge app for Codegeist 2026 (Apps for Software Teams) that visualizes real‑time sprint health metrics directly inside Jira.
- Live sprint data: Fetches sprints and issues from your Jira board via Jira REST API
- Health metrics: Completion rate, scope‑change risk, sprint‑goal presence
- Color‑coded badges: Green (healthy), yellow (at‑risk), red (critical)
- Interactive UI: Dropdown to switch between sprints, instant metric updates
- Zero secrets: Uses Forge’s
context.jira.tokenfor authenticated API calls
| Layer | Technology |
|---|---|
| Frontend | Forge UI Kit (@forge/react) – Select, DynamicTable, Badge, Box, Inline, Heading, SectionMessage, Spinner |
| Backend | Forge Functions (@forge/resolver) – two resolvers: getSprints, getHealth |
| API | Jira Agile REST API (/rest/agile/1.0/...) |
| Permissions | read:jira-work, read:project:jira (declared in manifest.yml) |
sprintpulse/
├── manifest.yml # App definition, modules, permissions
├── src/
│ ├── frontend/
│ │ └── index.jsx # UI Kit dashboard (configurable USER_BOARD_ID)
│ └── resolvers/
│ └── index.js # Resolver functions calling Jira REST API
├── package.json
└── README.md
- Atlassian developer site (free) with Jira Software
- Forge CLI installed & logged in (
forge login) - Node.js 18+ and npm
- A Jira Scrum board with at least one active sprint containing issues
- Open your Jira Scrum board.
- Copy the number from the URL:
https://your-site.atlassian.net/jira/software/c/23/agile→ Board ID = 23https://your-site.atlassian.net/jira/software/projects/KEY/boards/12→ Board ID = 12
Edit src/frontend/index.jsx and replace the placeholder:
const USER_BOARD_ID = 1; // <-- change this to your actual Board IDnpm installforge deploy # Deploys to Forge development environment
forge install # Installs on your Atlassian site → select "Jira Software"- Go to Jira Settings → Projects → [your project] → Project pages
- Click SprintPulse
- You should see a sprint dropdown and live health metrics.
# Hot‑reload UI while editing frontend code
forge tunnel
# After code changes, deploy to persist
forge deploy
# View function logs (last 10 minutes)
forge logs --since 10m-
Frontend (
src/frontend/index.jsx):- On mount, calls
getSprintsresolver withUSER_BOARD_ID - Populates sprint dropdown; auto‑selects first sprint
- On sprint change, calls
getHealthresolver withsprintId - Renders health badges and metrics table
- On mount, calls
-
Resolvers (
src/resolvers/index.js):getSprints(boardId)→GET /rest/agile/1.0/board/{boardId}/sprint?state=active,futuregetHealth(sprintId):GET /rest/agile/1.0/sprint/{sprintId}(sprint details + goal)GET /rest/agile/1.0/sprint/{sprintId}/issue?fields=summary,status,issuetype,storypoints- Calculates: total, done, in‑progress, to‑do, completion rate, goal presence
- Returns
overall,scopeChange,commitment, andmetricsobject
- Add more metrics: Extend the
metricsobject ingetHealth - Change thresholds: Adjust
green/yellowvalues ingetStatusForValue - Cache data: Use Forge Storage (
@forge/api) to cache sprint lists - Rovo AI: Add a Rovo agent to narrate sprint health (future enhancement)
| Artifact | How to Obtain |
|---|---|
| Installation link | forge install --link |
| App ID | Output of forge deploy (format ari:cloud:ecosystem::app/...) |
| Demo video | Record ≤5 min showing live data, UI, and code walkthrough |
| Category | Apps for Software Teams |
| Symptom | Fix |
|---|---|
| Empty sprint dropdown | Verify USER_BOARD_ID; ensure board has active/future sprints |
| 401/403 errors | Confirm read:jira-work and read:project:jira in manifest.yml; redeploy |
| Metrics show zeros | Sprint has no issues, or all issues are in one status column |
forge tunnel fails |
forge logout && forge login; ensure Node 18+ |
Sidebar icon: Tabler Icons — activity-heartbeat
Copyright (c) Paweł Kuna / Tabler, licensed under the MIT License.
Source: Wikimedia Commons. An original icon draft also lives at static/sprintpulse-icon.svg.
MIT — built for Codegeist 2026 hackathon.