LinkLens for Confluence

How to put a Jira dependency map in a Confluence page

How to put a Jira dependency map in a Confluence page

To put a Jira dependency map in a Confluence page you need something that reads Jira issue links and draws them as a graph. Confluence Cloud has no native macro that does this. The Jira Issues macro can list issues that match a link query, the Jira Timeline macro and embedded Plans show work on dates, and a draw.io or Gliffy diagram can show the chain as it was on the day someone drew it. LinkLens for Confluence adds a macro that draws every blocker chain of one link type from a project or JQL scope, live, with circular dependencies in red and linked issues from other projects shown as dimmed cards.

Why dependencies end up in Confluence

Release pages, cross-team planning pages and go/no-go checklists live in Confluence. The dependencies behind them live in Jira as issue links: blocks / is blocked by, depends on, or a custom type your site defined. Jira shows those links one issue at a time in the Linked work items section, which is fine when you already know which issue to open and useless when the question is "what is standing between us and the 2.4 release?"

A dependency map answers that question in one picture: cards for issues, arrows for links, blockers on the left and blocked work on the right, whole chains rather than single hops. Getting that picture onto the page where the release is discussed is the problem this article is about.

The Jira Issues macro ("Display Jira work items in a list" in Atlassian's documentation) renders the result of a JQL query as a live table on the page. JQL has two ways to ask about links.

Both are useful. Neither is a map. The result is a flat table: it tells you which issues are involved, not which one blocks which, and never how long the chain is. linkedIssues() goes one hop from the issue you name; the request to let it walk a link tree recursively (JRACLOUD-20104) was closed as "Won't Do". A blocker three hops upstream only shows up if you already knew to ask about it.

Native option 2: Jira Timeline and embedded Plans

Two native embeds put time-based views of Jira into a page.

The Jira Timeline macro. Paste the URL of a software space's timeline into a Confluence page, or type /timeline, and Confluence renders the timeline live. People with the right permissions can interact with it as they would in Jira. It is scoped to the timeline of one space and shows work as bars on dates.

Embedded Plans. On Jira Premium and Enterprise, you can copy the link to a saved plan view and paste it into a page as an embed. Viewers need access to the plan and the Plans viewer permission, plus permission to view the spaces and boards the plan includes.

Both are good at "when". They are weaker at "what waits on what". A timeline draws bars in date order and can show dependency lines between items on it, but a chain that crosses spaces, includes unscheduled work, or runs through issues that are not on that timeline is either partial or not shown. And Plans is a paid tier that not every team, or every reader of a release page, has.

Native option 3: draw it by hand

The most common real-world answer is a diagram. Someone opens draw.io or Gliffy in the page, draws boxes for the key issues, types in their keys, connects the arrows, and the release page finally has a dependency map.

It looks right on the day it is drawn. Then:

For a one-off architecture sketch that is fine. For a release page that people read every week to decide whether to ship, a stale map is worse than none, because it looks authoritative.

How to do it with LinkLens for Confluence

LinkLens for Confluence is a macro that builds the graph from Jira issue links each time the page is opened, so it cannot drift from Jira.

  1. Install and connect. Install the app on Confluence. A site admin then connects it to Jira on the same site once, from Manage apps. No separate Jira app is needed. Until it is connected, the macro shows "Connect LinkLens to Jira".
  2. Insert the macro. Edit the page, type /LinkLens and pick LinkLens dependency graph.
  3. Configure it. Choose a Link type (Blocks is the default; any link type on your site works, custom ones included, both directions handled). Choose a Scope: Jira projects with optional extra JQL such as fixVersion = 2.4, or any JQL query including filter = 12345. Optionally turn on Hide Done issues, pick a graph height and add a title. Select Save.
  4. Publish. The graph loads live for every reader. Refresh reloads it.
LinkLens for Confluence dependency graph of storefront blocker chains, with a circular dependency drawn as a red dashed arrow

What you see on the page:

LinkLens for Confluence graph scoped to two Jira projects, showing chains across Storefront and Platform

A release page can hold several graphs, one per release or one per link type. Each viewer sees the graph with their own Jira permissions; the app has a single read-only scope (read:jira-work), no backend and no storage.

What it cannot do

FAQ

The one whose outward label means "must happen first". For most sites that is Blocks. If you use a custom type such as Depends on and the arrows look reversed, the type was defined the other way round in Jira's link settings.

Is the graph a snapshot?

No. It is built from Jira when the page opens. Use PNG when you need a point-in-time image.

Do I need LinkLens for Jira too?

No. LinkLens for Confluence connects to Jira itself. LinkLens for Jira is a separate app that adds a Dependencies page to each project and a Dependency chain panel to each issue inside Jira.

Will people without Jira access see the graph?

No. They see a "No access to Jira" message. Everyone else sees only the issues their Jira permissions allow.

What does it cost?

LinkLens for Confluence is free for sites with up to 10 users, with paid tiers above that billed by Atlassian. The Marketplace listing is pending Atlassian's approval; the LinkLens for Confluence page and the getting-started guide have the current details.

Sources

  1. Display Jira work items in a list, Atlassian Support - the Jira Issues macro renders JQL, filter or URL results as a list, a single item or a count.
  2. Retrieve Linked Work Items by Link Type in Jira Cloud, Atlassian KB - linkedIssues() needs a work item key; issueLinkType queries by type.
  3. JRACLOUD-25640, JQL function for showing all issues linked to any issue by a given issue link type - fixed in September 2019 with the issueLinkType and issueLink fields.
  4. JRACLOUD-20104, Add a third parameter to the linkedIssues() JQL function to support recursively walking a link tree - closed as Won't Do.
  5. Add your timeline to a Confluence Cloud page, Atlassian Support - the Jira Timeline macro for software spaces, live and interactive.
  6. Share and embed your plan in Atlassian apps, Atlassian Support - embedding Plans in Confluence, Premium and Enterprise only, with the viewer permissions required.
  7. Link work items, Atlassian Support - link types have outward and inward descriptions.