Inspiration

Jira is good at telling you that a ticket is blocked. It is much worse at telling you why, or who can actually fix it. Finding out usually means opening the blocker, then its blocker, then a Confluence page, then the comments, across several tabs. The answer is often something simple, like a root blocker nobody owns or one that hasn't been touched in a week, but it takes a lot of clicking to see it. The hackathon theme, "build with context", matched this problem well: the answer isn't in one issue, it's in the relationships between issues, people and documents.

What it does

Context Detective adds a "Why is this stuck?" panel to every Jira issue. It follows the "is blocked by" links to the root blocker and explains what it found:

  • The trail: every issue between this one and the root blocker, with owner, status and days since last update.
  • A diagnosis: a plain-language verdict such as "the root blocker has no owner", "has gone quiet", or "circular dependency", with a suggested next step.
  • Context: related Confluence pages and recent comments as evidence, plus the blocker owner's team and other assigned work from the Teamwork Graph.
  • Blast radius: how many issues and people are waiting on the root blocker.
  • Actions: nudge the owner with an @mention comment, or create a linked follow-up task assigned to them.

It handles different cases, not one hardcoded path: multiple blockers, circular dependencies, unowned or stale blockers, finished blockers that are ignored, and healthy issues that are correctly reported as not stuck.

How I built it

Context Detective is a Forge app using a Custom UI (React) Jira issue panel. A Forge resolver does the work:

  1. It walks the "Blocks" issue links through the Jira REST API, with a depth limit and cycle detection, choosing the stalest open blocker at each step and listing the others as side branches.
  2. It looks for Confluence pages linked to or mentioning each issue, using Jira remote links and Confluence search.
  3. It queries the Teamwork Graph for the root blocker owner's teams and assigned work.
  4. It follows "blocks" links the other way to count everything waiting on the root blocker.
  5. It applies simple, transparent rules to produce the verdict, so the result is explainable rather than a model's guess.

The React panel shows the trail, evidence and buttons, and uses Atlassian design tokens so it follows the user's theme. I also wrote a seed script that creates a realistic demo project through the Jira API.

Challenges I ran into

  • Setting up Forge: the CLI couldn't store credentials in a keychain on my machine, so I switched to API token environment variables. New scopes also triggered a major-version approval on deploy.
  • Rovo: I started with a Rovo agent, but couldn't get it working reliably on my site, so I dropped it and kept the core app independent of it.
  • Teamwork Graph: the first queries failed because operation names must follow a company_operation pattern, and a field shown in the documentation example didn't exist in the live schema. The app now asks the schema which fields exist before querying, and falls back to plain Jira data if the graph returns nothing.
  • Confluence: pages linked in Jira didn't show up at first because the app wasn't installed on Confluence. It now falls back to the link information Jira already holds.
  • Link direction and time: Jira's issue link direction is easy to get backwards, and "updated" timestamps can't be backdated, so staleness has to be set up by creating data early and leaving it alone.

Accomplishments that I'm proud of

  • The app investigates instead of searching: it follows relationships across issues, owners, documents and teams and gives a specific, explainable answer.
  • It works on any issue in any project, not a single prepared demo chain.
  • It turns the answer into action with one click: a nudge or a follow-up task.
  • It degrades gracefully: if Confluence or the Teamwork Graph has nothing, the core investigation still works.

What I learned

  • How Forge modules, resolvers, scopes and Custom UI fit together, and how much simpler a deterministic core makes an app compared with relying on an AI model for every answer.
  • The Teamwork Graph is useful for exactly the questions Jira links can't answer, such as which team an owner belongs to.
  • Production-quality behaviour needs fallbacks. Permissions, missing products and empty data are normal cases.

What's next for Context Detective

  • A project-level "stuck board" ranking all blocked work by blast radius and time stalled.
  • A Rovo agent so people can ask "why is this stuck?" in chat.
  • Richer evidence: pull requests, deployments and Slack threads through the Teamwork Graph.
  • Smarter owner suggestions based on who actually resolved similar blockers before, and scheduled digests for team leads.

Built With

Share this project:

Updates

Submission history