Most teams treat Confluence macros like browser extensions: they install them during a specific problem, forget about them, and then wonder years later why their docs load slowly and half the embedded content is broken. Sync-o (also written as synco) has audited this pattern across dozens of engineering spaces. The macros themselves are not the problem. How teams deploy them without any governance is. This guide covers which macros pull live data and which embed static snapshots, how to audit what is currently running across your space, and where the failure modes hide in production.
Quick answer: Confluence macros are page-level components that range from static formatting helpers to live data fetchers. The ones that connect to Jira (Jira Issues, Roadmap, Sprint Burndown) pull real-time ticket data and can reduce doc drift. The ones that embed screenshots or static content (Excerpt, Info panels) go stale immediately. Know which category each macro falls into before you place it.
Which Confluence macros pull live data vs. which go stale immediately
This distinction is the one that most “confluence macros tutorial” content skips. Not all macros age the same way.
Live-data macros (content stays current without manual editing):
- Jira Issues macro: Executes a stored JQL query every time the page loads. A query like
project = PLATFORM AND sprint in openSprints() AND status != Donewill always reflect the current sprint. No manual update needed. - Jira Roadmap macro: Renders the live roadmap view from a Jira board. If the board changes, the macro reflects it.
- Sprint Burndown macro (Jira-linked): Pulls sprint velocity data in real time.
- Recently Updated macro: Shows pages modified in the last N days within a specified space. Genuinely dynamic.
- User Profile macro: Always reflects the current user’s profile data.
- Page Properties Report macro: Aggregates metadata from child pages using the Page Properties macro. When child pages update their properties, the report updates automatically.
Static or near-static macros (content goes stale the moment the underlying reality changes):
- Excerpt / Excerpt Include: Copies text from another page at embed time. If the source page changes, the excerpt does not automatically re-render unless the including page is also edited.
- Info / Note / Warning panels: Pure formatting. Whatever text you put in, stays there until someone edits it manually.
- Status macro: Shows a colored label. It does not connect to Jira status. Someone has to manually update it.
- Code macro: Static. No connection to any repository.
- Attachments macro: Displays attached files. The files themselves can be outdated even if the macro renders fine.
The Status macro causes more silent documentation drift than almost anything else in Confluence. We have seen engineering spaces with 40+ pages showing “IN PROGRESS” statuses that referred to projects completed 18 months prior, because no one realized the Status macro was purely decorative.
How to audit Confluence macros across your space using the Confluence REST API
You do not need a Marketplace app to get a picture of what macros are running. The Confluence REST API exposes page body content, and a quick script can extract macro usage at scale.
#!/bin/bash
# Audit all pages in a space for macro usage
# Replace SPACE_KEY, BASE_URL, EMAIL, and API_TOKEN with your values
SPACE_KEY="ENG"
BASE_URL="https://yourinstance.atlassian.net/wiki"
EMAIL="[email protected]"
API_TOKEN="your_api_token"
START=0
LIMIT=50
while true; do
RESPONSE=$(curl -s -u "$EMAIL:$API_TOKEN" \
"$BASE_URL/rest/api/content?spaceKey=$SPACE_KEY&expand=body.storage&limit=$LIMIT&start=$START")
# Extract macro names from storage format
echo "$RESPONSE" | grep -oP '(?<=ac:name=")[^"]+' | sort | uniq -c | sort -rn
TOTAL=$(echo "$RESPONSE" | python3 -c "import sys,json; d=json.load(sys.stdin); print(d['size'])")
if [ "$TOTAL" -lt "$LIMIT" ]; then break; fi
START=$((START + LIMIT))
done
This outputs a frequency count of every macro name found in page body storage across the ENG space. Run it quarterly. A space with 200+ instances of the Status macro and no governance policy is carrying significant documentation debt. For a deeper approach to reducing that debt systematically, the documentation debt reduction framework covers prioritization logic that applies directly here.
Jira Issues macro configuration patterns that reduce documentation drift
The Jira Issues macro is the single highest-leverage macro for keeping Confluence documentation aligned with Jira tickets, but most teams configure it wrong. They paste a static list of ticket IDs instead of a dynamic JQL query.
Avoid this:
PLATFORM-89, PLATFORM-90, PLATFORM-91
Use this instead:
project = PLATFORM AND label = "q4-migration" AND statusCategory != Done ORDER BY priority DESC
The label-based filter means the query stays accurate as tickets are added to the epic or label group. You never touch the macro again. The page always reflects the current state of PLATFORM tickets tagged for the Q4 migration.
For release notes pages, a pattern that works well is filtering by fixVersion:
project = PROJ AND fixVersion = "2026.10" AND type in (Bug, Story) ORDER BY issuetype ASC
Sync-o uses this macro pattern as part of its staleness detection: if a page embeds a Jira Issues macro pointing to a sprint or version that closed more than 30 days ago, Sync-o flags the page for review. The macro is technically rendering, but the underlying data context is expired.
If you are building out a template-driven documentation system, pairing Jira Issues macros with the patterns described in confluence templates best practices that don’t rot gives you a starting point that is less likely to need manual correction six months in.
Page Properties and Page Properties Report: the underused macro pair for engineering metadata
These two macros together are the closest thing Confluence has to a lightweight database layer. The pattern works like this:
- Each child page (say, one page per microservice) contains a Page Properties macro with structured metadata: owner, last reviewed date, on-call rotation, SLO tier, current deployment version.
- A parent index page uses the Page Properties Report macro to aggregate all child page metadata into a single table.
When an engineer updates the deployment version on the payments-service page, the index updates automatically on the next page load. No one has to maintain the index manually.
The failure mode: teams build this structure beautifully in Q1 and then stop updating child pages by Q3. The Page Properties Report looks authoritative because it renders as a clean table, so readers trust it. But if the last reviewed date field on the auth-service page still says 2025-11-14, the table is lying to you with a professional layout.
The fix is a macro-based review reminder combined with a process commitment. Add a Page Properties field called review due and set it 90 days from the last edit. Then query for pages where review due is in the past using the Recently Updated macro filtered by label. It is not automated governance, but it is visible governance.
For teams who want actual automated governance rather than a manual reminder system, keeping Confluence up to date with maintenance strategies that hold up covers the operational patterns behind making page reviews stick.
Confluence macro performance: the 8-second page load problem
A Confluence page with 12 Jira Issues macros each running separate JQL queries will make 12 synchronous API calls on page load. On a large Jira instance, each call can take 600-900ms. The math is not favorable.
In our experience, the worst offenders are sprint review pages that were duplicated each sprint rather than templated cleanly. By sprint 20, the page has accumulated macros from previous sprints that no one deleted. The page loads in 8+ seconds, people stop opening it, and then someone recreates the information in a Google Doc. The Confluence page becomes an artifact no one reads.
Atlassian’s own guidance recommends keeping Jira Issues macro instances per page under 5, and consolidating queries using broader JQL rather than multiple narrow queries. One macro with project = PROJ AND sprint in openSprints() is faster and more maintainable than three macros each scoped to a different issue type.
| Macro pattern | API calls per page load | Staleness risk | Recommended limit |
|---|---|---|---|
| Jira Issues (JQL, dynamic) | 1 per macro | Low | 5 per page |
| Jira Issues (static ticket IDs) | 1 per macro | High | 3 per page |
| Page Properties Report | 1 (aggregated) | Medium | 1-2 per page |
| Excerpt Include | 0 (cached) | High | Use sparingly |
| Recently Updated | 1 per macro | Low | 2 per page |
| Status macro | 0 | Very high | Audit quarterly |
Confluence macros in regulated-environment documentation (SOC 2, ISO 27001)
This is where macro choice has real compliance implications. For SOC 2 Type II evidence collection or ISO 27001 audit trails, the macros you use determine whether your documentation is trustworthy as evidence or just decorative.
The Jira Issues macro pulling live ticket data is not appropriate for audit evidence pages. An auditor needs a point-in-time snapshot, not a page that re-renders on every load. For evidence pages, export the Jira query result as a static table and paste it into the page with a timestamp. The live macro is good for operational pages. The static table is correct for audit artifacts.
Similarly, the Page Properties macro’s last reviewed date field can function as lightweight evidence of review cycles, but only if the update history in Confluence (accessible at /wiki/spaces/ENG/pages/PAGE_ID/history) shows the edit was made by a real user on the claimed date. Confluence’s page history is version-controlled and cannot be backdated, which makes it a legitimate audit artifact. The macro content itself is not the evidence. The version history is.
For teams building documentation governance into their processes, the technical documentation governance framework guide covers how to structure review cycles in a way that produces verifiable records rather than aspirational policies.
How to use the Excerpt macro without creating documentation drift
The Excerpt and Excerpt Include macro pair has a specific legitimate use case: single-source-of-truth for a fact that appears on many pages. The canonical example is a service’s current version number or an API base URL.
The correct pattern:
- Create a dedicated “source of truth” page, e.g.
/wiki/spaces/PLATFORM/pages/12345/Service+Registry. - On that page, wrap each fact in its own named Excerpt macro:
<ac:name="excerpt"><ac:parameter ac:name="name">payments-api-url</ac:parameter>. - On any other page that needs that URL, use Excerpt Include pointing to the source page and the named excerpt.
Now when the payments API URL changes, one edit on one page propagates everywhere.
The failure mode that kills this pattern: the source-of-truth page gets orphaned. Someone leaves the team, the page falls out of the space navigation, and no one knows it exists. Six months later, the facts are wrong everywhere because no one thought to update a page they had forgotten was the source.
The solution is to pin the source-of-truth page in your space’s sidebar and add it to any agile documentation patterns checklist your team runs at sprint start. Visibility is the only thing that keeps excerpt sources alive.
Common questions about Confluence macros
What is the difference between the Jira Issues macro and a smart link in Confluence?
A smart link in Confluence shows a preview card for a single Jira ticket based on its URL. The Jira Issues macro runs a JQL query and returns a filtered list of tickets. Smart links are good for referencing specific tickets inline. The Jira Issues macro is for showing dynamic ticket lists on operational or status pages. They serve different purposes and should not be used interchangeably.
Which Confluence macros cause the most page load slowdown?
Multiple Jira Issues macros on a single page are the most common cause of slow Confluence page loads, because each one makes a separate API call to Jira on page render. Confluence’s built-in page load profiler (available to space admins via the ?pageLoad=true URL parameter) shows macro render times. Anything over 500ms per macro warrants consolidation.
Can Confluence macros be used in templates?
Yes, and this is one of the highest-leverage uses. A Jira Issues macro configured with a JQL query that uses relative filters (like sprint in openSprints() or fixVersion = EMPTY) embedded in a Confluence template creates a starting point that is live from the first use. For agile ceremonies documentation, this means sprint review and planning templates that pull current ticket data automatically instead of requiring manual setup each sprint.
How do I find all pages in a Confluence space that use a specific macro?
Use the Confluence REST API with the body.storage expand parameter and grep for ac:name="macro-name" in the response. The script in this article demonstrates the pattern for bulk auditing. Alternatively, Confluence’s built-in Space Admin page includes a Macro Usage report under Space Tools, though it only lists macro counts without page-level detail.
Does Atlassian Intelligence work with macros?
Atlassian Intelligence can generate and suggest page content, but as of 2026, it does not modify macro configurations. It will not update a Jira Issues macro’s JQL query or change a Page Properties field. Sync-o fills a narrower but different gap: it monitors whether the content around macros (the prose, the status labels, the surrounding context) has drifted from the actual state of linked Jira tickets, and flags or updates it surgically without touching the macro itself.
The sharpest insight from auditing macro usage across dozens of Confluence spaces: the live-data macros (Jira Issues, Page Properties Report) are not what cause documentation drift. The static-looking formatting macros (Status labels, Info panels, Excerpt includes from orphaned source pages) are where drift hides, precisely because they render cleanly and give no visual signal that the content is outdated. A broken macro is obvious. A stale Status macro set to “IN PROGRESS” on a completed project looks exactly like a healthy page.
The practical implication for teams running documentation drift solutions: audit your Status macros first, not your Jira integrations. The Jira Issues macro is probably fine. The hand-colored status label from 2024 is almost certainly not.
According to Atlassian’s 2023 State of Teams report, 58% of knowledge workers report spending significant time searching for information they cannot find, a figure that reflects exactly what happens when readable-but-wrong macro content erodes trust in documentation over time. The macro is not the root cause. The governance gap around it is.