Use Cases

Use Case Templates

Three ready-to-use report templates for the most common Confluence reporting scenarios. Each template includes a CQL query, recommended expansions, and column configuration.


Template 1: Content Health Dashboard

Purpose: Identify stale, unowned, or high-risk pages across a Confluence space. Gives admins and documentation leads a full picture of content health in one report.

Recommended View: Table

CQL Query

type = page AND space = "YOUR_SPACE_KEY" AND lastmodified <= now("-60d") AND status = "current"

Replace YOUR_SPACE_KEY with your target space key (e.g., "DOCS", "ENG", "HR").

Expansions to Load

  • version - for last modifier and last modified date
  • history - for original creator and creation date
  • metadata - for labels

Column Configuration

Column LabelBlock TypeSource Field
Page TitleLinktitle → _links.webui
SpaceBasicspace.name
Original CreatorBasichistory.createdBy.displayName
Last Modified ByBasicversion.by.displayName
Last ModifiedBasicversion.when
Created DateBasichistory.createdDate
LabelsCollectionmetadata.labels.results[].name

How to Use

  1. Open the macro editor and set Data Source to Custom CQL.
  2. Paste the CQL query above - update the space key.
  3. Load the three expansions listed.
  4. Add columns as shown in the table above.
  5. Set Result Limit to 200–500 for a comprehensive audit.
  6. Sort by Last Modified (ascending) - oldest pages appear first.
  7. Export as CSV to share with the team.

Template 2: Space Activity Report

Purpose: Track documentation activity across a Confluence space - which pages are being updated, who is updating them, and how often. Ideal for manager dashboards and team reporting.

Recommended View: Table (for data) + Charts (for trends)

CQL Query

type = page AND space = "YOUR_SPACE_KEY" AND lastmodified >= now("-30d") ORDER BY lastmodified DESC

Adjust the date window (now("-30d")) to 7 days, 14 days, or 90 days as needed.

Expansions to Load

  • version - for last modifier and last modified date
  • history - for creation date

Column Configuration (Table View)

Column LabelBlock TypeSource Field
Page TitleLinktitle → _links.webui
Last Modified ByBasicversion.by.displayName
Last ModifiedBasicversion.when
Version NumberBasicversion.number
Created DateBasichistory.createdDate

Chart Configuration (Charts View)

Chart GoalChart TypeGroup ByMetric
Updates over timeLineMonth (lastmodified)Count
Top editors in spaceBarversion.by.displayNameCount

How to Use

  1. Build the Table view report first - use the CQL and columns above.
  2. Save and review the data.
  3. Insert a second macro on the same page - configure it as a Chart.
  4. Use the same CQL query, set Chart Type to Line, Group By Month.
  5. Add a second chart macro for Bar chart - Group By last modifier.
  6. Save both macros to create a combined data + visual activity dashboard.

Template 3: Contributor Tracking Report

Purpose: Track who is contributing to documentation - original creators and active editors - and measure contribution patterns across a space or the entire Confluence instance.

Recommended View: Table + Bar Chart

CQL Query (All recent contributors)

type = page AND (creator = currentUser() OR contributor = currentUser()) ORDER BY lastmodified DESC

CQL Query (Space-wide contributor view - for admins)

type = page AND space = "YOUR_SPACE_KEY" AND lastmodified >= now("-90d")

Expansions to Load

  • version - for last modifier
  • history - for original creator and contributors

Column Configuration (Table View)

Column LabelBlock TypeSource Field
Page TitleLinktitle → _links.webui
Original CreatorBasichistory.createdBy.displayName
Last Modified ByBasicversion.by.displayName
Last ModifiedBasicversion.when
SpaceBasicspace.name
VersionBasicversion.number

Chart Configuration (Bar Chart)

SettingValue
Chart TypeBar
Group Byversion.by.displayName (last modifier)
MetricCount
Use CaseRanks editors by number of page updates

How to Use

  1. Use the personal CQL query (creator = currentUser()) for a personal contribution dashboard.
  2. Use the space-wide CQL for admin-level contributor tracking across the team.
  3. Load version and history expansions.
  4. Build the Table view to see individual page contributions.
  5. Add a second macro with Bar chart to visualize top contributors at a glance.
  6. Export the Table view as CSV for performance reviews or team reporting.

Tip: The "Content Created by Me" and "Pages Updated By a Specific User" pre-built templates in the Templates tab cover similar scenarios and can be used as starting points.