Confluence logoConfluenceTeamLens for Confluence

How do you show stale Jira work items on a Confluence page?

How do you show stale Jira work items on a Confluence page?

A status page that only counts open work hides the item that has sat in "In Review" for five weeks. The question a delivery lead actually asks on Monday is "what has not moved?", and Confluence can answer it live from Jira with nothing installed, as long as you accept a flat list.

Short answer: put a Jira work items macro on the page with a JQL query for work that is in progress and has not been touched: statusCategory = "In Progress" AND updated < "-2w" ORDER BY updated ASC. Atlassian's JQL reference gives updated < "-2w" as the way to "find work items that were last updated more than two weeks ago". For "has not changed status in two weeks" (a comment does not reset it), use the CHANGED operator: statusCategory = "In Progress" AND NOT status CHANGED AFTER startOfDay("-14d"). Add a second macro in count mode for the headline number. What the native macros cannot do is bucket the list by age or total it per Atlassian team.

Two meanings of "stale", two queries

What you meanJQLWhat resets the clock
Nobody touched itupdated < "-2w"Any edit: a comment, a field change, a link, a transition
It has not moved on the boardNOT status CHANGED AFTER startOfDay("-14d")Only a status change

Both are documented. The updated field accepts a date or a relative value: "use "w" (weeks), "d" (days), "h" (hours) or "m" (minutes) to specify a date relative to the current time", and the quote marks matter, because without them "the number you supply will be interpreted as milliseconds after epoch". The CHANGED operator "is used to find work items that have a value that had changed for the specified field", takes the optional predicates AFTER, BEFORE, BY, DURING, ON, FROM and TO, and works "with the Assignee, Fix Version, Priority, Reporter, Resolution, and Status fields only".

The first query is the looser one. A bot comment or a bulk label edit makes an item look fresh, so a list built on updated shrinks whenever someone tidies the backlog. The second query ignores that noise, which is why it is the better one for a "stuck in review" list.

One documented limit on history searches: "if a work item has more than 10,000 changes, JQL queries using the WAS operator will only search the most recent changes." That will not matter for ordinary work items, but it is the reason very old, very busy tickets can behave oddly.

Put it on the page

  1. Edit the Confluence page, type /jira and choose the Jira work items macro (it was called the Jira Issues macro; Atlassian now says "work items").
  2. Paste the JQL. Start with a scope, then the stale test, then the order: project in (APP, WEB) AND statusCategory = "In Progress" AND NOT status CHANGED AFTER startOfDay("-14d") ORDER BY updated ASC
  3. Choose the columns. Atlassian's macro page: "choose the columns you want to appear by selecting the column icon", and you can drag columns to reorder them. Key, summary, status, assignee and updated are enough for a stale list.
  4. Insert a second macro with the same JQL and choose Total work item count next to "Display options" in the macro browser, so the page opens with the number above the list.
  5. Publish. The list is a live query, so it is right on Wednesday as well as Monday.

Change -14d to the threshold your team agreed on. A common ladder is 7 days for a warning list and 30 days for an escalation list, as two macros.

What the native macros do not show

If a flat list for one or two projects is all you need, stop here: the native macro is the right tool and it is free.

How TeamLens for Confluence fits

We make TeamLens for Confluence, a Confluence macro on the Atlassian Marketplace that reads Jira work from the same site and groups it by the Atlassian Team field. One of its five reports is Aging: in-progress work bucketed by days in the current status, per team, with a "stale work, oldest first" list underneath. The stale threshold is 7, 14, 21 or 30 days (14 by default). You insert it with /TeamLens, pick Aging, choose a scope (Jira projects or any JQL, such as filter = 12345) and optionally some teams.

Its limits, so you can rule it in or out quickly: it reads only the Jira on the same Atlassian site, counts up to 3,000 work items per macro, shows a placeholder in PDF and Word exports, and viewers without Jira access see a "No access to Jira" message instead of partial data. Each viewer loads the report with their own Jira permissions; the app has one read-only scope (read:jira-work), no backend and no storage. It is free for sites with up to 10 users. Details: the TeamLens for Confluence page. The other four native ways to show Jira data in a page are compared in Jira reports in Confluence: four native ways.

FAQ

What JQL finds Jira work items not updated in 14 days?

updated < "-14d", or updated < "-2w", which is the example in Atlassian's JQL fields reference. Add statusCategory = "In Progress" to leave out the backlog and finished work, and ORDER BY updated ASC to put the oldest first.

How do I find work items stuck in the same status?

Use the CHANGED operator on the status field with the AFTER predicate, negated: NOT status CHANGED AFTER startOfDay("-14d"). Unlike updated, a comment or a label edit does not reset it.

Can the Jira chart macro in Confluence show an aging chart?

No. Its three chart types are pie, created vs resolved and two-dimensional, and the fields Atlassian lists for them do not include an age or a time in status.

Does a comment make a stale work item look fresh?

With updated, yes: any edit moves the updated date. With status CHANGED, no: only a transition counts.

Sources

  1. JQL fields, Atlassian Support - the updated field, relative dates with w, d, h and m, the quote-marks note, the "more than two weeks ago" example. Read 12 Oct 2026.
  2. JQL operators, Atlassian Support - CHANGED and its predicates, the fields it supports, the 10,000-changes note. Read 12 Oct 2026.
  3. Display Jira work items in a list, Atlassian Support - JQL search, list and count views, choosing and reordering columns. Read 12 Oct 2026.
  4. Insert the Jira chart macro, Atlassian Support - the three chart types and the six fields for pie and two-dimensional charts. Read 12 Oct 2026.

Related reading