Risk matrix in Confluence: show your Jira risks on a live page

Put a live Jira risk register and risk matrix on a Confluence page with the Jira work items and Jira chart macros, plus a template for monthly risk reviews.

Confluence can show your Jira risks on a page that keeps itself up to date. The Jira work items macro turns a JQL search into a risk register table with the columns you choose, and the Jira chart macro adds pie, created vs resolved and two-dimensional charts. Neither macro draws a likelihood by impact risk matrix from your own fields, but a small table of count macros does.

This guide covers the setup in Jira, the register, the charts, the matrix, a template for a monthly risk review, who sees what, and how the data stays current.

Set up the risks in Jira first

The macros can only show what Jira holds, so give every risk the same fields. A simple setup:

  • A Risk work type in one space, here with the key RISK.
  • Risk likelihood and Risk impact: dropdown (select list) fields with five options each. For example, 1 Rare, 2 Unlikely, 3 Possible, 4 Likely and 5 Almost certain, and 1 Insignificant, 2 Minor, 3 Moderate, 4 Major and 5 Severe. Avoid naming a field just Impact: sites with Jira Service Management already have one.
  • The Assignee as the risk owner, and the Due date as the date of its next review.
  • A workflow such as Open, Mitigating, Accepted and Closed.

Then write the search every macro will start from: all open risks, newest changes first. JQL’s project field finds work items in a space.

project = RISK AND type = Risk AND statusCategory != Done ORDER BY updated DESC

Save it as a filter too. Pasting a filter’s URL into a Confluence page turns it into the macro.

Show the risk register with the Jira work items macro

  1. Edit the page, type /jira and select Jira work items.
  2. Choose your Jira site next to Search, and log in if asked.
  3. Select JQL, paste the query and select Search.
  4. Under Display options, set how many work items to show.
  5. Select Insert work items.

To change the query later, select the pencil icon at the bottom of the list (Display Jira work items in a list).

Choose the columns

Select the column icon to pick which fields appear, and drag a column to move it. For a register, a useful set is Key, Summary, Status, Assignee, Risk likelihood, Risk impact and Due date.

For a short list of the risks that need attention, add a second table with a narrower query:

project = RISK AND type = Risk AND statusCategory != Done AND "Risk likelihood" in ("4 Likely", "5 Almost certain") AND "Risk impact" in ("4 Major", "5 Severe")

Chart the risks with the Jira chart macro

Type /, then the macro’s name, Jira chart, select it, and point it at the same JQL. It offers three charts (Insert the Jira chart macro):

  • Pie chart. Splits the risks by a field such as Status or Assignee: where risks stand, and who owns them. Options cover the width, a border, and chart information with the total count.
  • Created vs resolved. Plots risks raised against risks closed, by week, month or quarter. Set Period and Days previously, and turn on Show unresolved trend to see the open count over time.
  • Two-dimensional chart. A grid of counts with one field across and another down, with Rows to display to limit its size. Atlassian documents its axes as Status, Priority, Assignee, Fix version, Component and work type, so it suits owners by status, not likelihood by impact.

Build a risk matrix from count macros

A risk matrix is a grid of counts: how many open risks sit at each likelihood and impact. Getting one from Jira into Confluence is a long-standing Community question. The Jira work items macro can show a single number instead of a list, so a Confluence table of them makes a live matrix.

  1. Insert a table with six rows and six columns. Put the Risk likelihood options down the first column, from 5 Almost certain at the top to 1 Rare at the bottom, and the Risk impact options across the first row, from 1 Insignificant to 5 Severe.
  2. In each cell, insert a Jira work items macro with that cell’s JQL, and choose the count view: select COUNT VIEW, or Total work item count under Display options. The number links to the matching search in Jira.
  3. Color each cell with the table’s cell background color: red where likelihood and impact are both 4 or more, amber in the middle, green at the low end.

The cell for Likely and Severe:

project = RISK AND type = Risk AND statusCategory != Done AND "Risk likelihood" = "4 Likely" AND "Risk impact" = "5 Severe"

Build one row, copy it to the next, and change one value in each JQL. Twenty-five cells is a lot to maintain, so if a 3 by 3 scale is enough for your risks, it needs nine.

A page template for the monthly risk review

A space template gives every review the same shape. Only space admins can create one: next to the space name in the sidebar, open More actions (•••) and select Space settings, open Look and Feel, select Templates, then Create new template (Create a template). To have the review month filled in when someone creates a page, type /variable, name it Review month, and choose Text.

An outline to copy:

Risk review: [Review month]

1. Summary: two or three sentences on what changed and what needs a decision.
2. Risk matrix: the count-macro table.
3. Risks above the line: open risks in the red cells.
4. New since the last review: risks created last month.
5. Closed since the last review: risks moved to Closed last month.
6. Overdue reviews: open risks whose next review date has passed.
7. Decisions and actions: each with an owner and a date.

Sections 2 and 3 reuse the matrix and the short list from above. The JQL for the other three Jira work items macros:

New since the last review:

project = RISK AND type = Risk AND created >= startOfMonth("-1") AND created < startOfMonth()

Closed since the last review:

project = RISK AND type = Risk AND status CHANGED TO Closed AFTER startOfMonth("-1") BEFORE startOfMonth()

Overdue reviews:

project = RISK AND type = Risk AND statusCategory != Done AND duedate < startOfDay()

Add the macros to the template the same way you add them to a page, and write the decisions as plain text, so they stay as they were agreed.

Who can see the risks

Confluence page permissions decide who can open the page. Jira decides what each reader sees inside the macros: a reader sees only the risks they can see in Jira. Someone who can open the page but not browse the risk space sees none of its work items, and Atlassian’s chart macro documentation says readers are asked to authenticate when a chart includes work items that anonymous users can’t see. The same holds for risks restricted with a security level.

So a Confluence page isn’t a way to share risks with people who have no Jira access. For a board or an auditor who reads only Confluence, either give them Jira access with permission to browse the risk space, or paste a static copy of the register into the page and date it.

How the page stays current

The macro keeps the search, not a copy of the results. When someone opens the page, the macros run their searches in Jira again, so new risks appear, closed ones drop off and changed ratings show their new values. If a change you just made doesn’t show, reload the page. Two cases behave differently:

  • Hand-picked work items. A macro built from work items you ticked one by one keeps showing only those items, however many new risks match.
  • Relative dates. Functions such as startOfMonth() move with the calendar, so a review page opened a month later shows a different month. If the page is your record of a review, write fixed dates into its JQL instead.

Use Risk Register for Jira ratings in the macros

Risk Register for Jira rates each risk on a matrix you define, before and after treatment, and keeps its reports in Jira. Its docs don’t describe Confluence.

What the macros can use is its ratings. In company-managed spaces, initial and residual probability, impact and risk are Jira fields, so JQL finds them across spaces. That lets a macro’s JQL pick out risks by rating, for example every open risk still rated High or Extreme after treatment:

"Residual Risk" in (High, Extreme) AND statusCategory != Done ORDER BY updated DESC

Use the level names from your own risk matrix. The same goes for the initial and residual probability and impact ratings, so the count matrix above can use the app’s ratings in place of Risk likelihood and Risk impact fields of your own.

Questions

Can the Jira chart macro draw a risk heat map?

Not from likelihood and impact fields of your own. Atlassian documents the two-dimensional chart’s axes as Status, Priority, Assignee, Fix version, Component and work type. A table of count macros, one per likelihood and impact pair, with colored cells, works as a live heat map.

Do readers need Jira access to see the risks on the page?

Yes. The macros show each reader only the work items they can see in Jira, so readers need Jira access and permission to browse the risk space. For anyone else, paste in a dated static copy.

Does the page update when a risk changes in Jira?

Yes, for macros built on JQL or a filter: they run their search again when the page is opened. A macro built from work items you picked one by one keeps showing only those items.

Can one page show just one team’s risks?

Yes. Add a clause such as component = Payments or labels = vendor-risk to each macro’s JQL, or start from that team’s saved filter.

Try Risk Register for Jira

Keep every risk in Jira. Rate each one on a risk matrix of your own, follow it from initial to residual risk, and give leadership heat maps they can read at a glance.