Stand with Ukraine 🇺🇦

Space Information — Confluence Cloud Macro

This macro generates a table that displays information about the current Confluence space, including its type, status, and creation date. It also provides links to the space summary, permissions, and calendar. The data is populated dynamically using space variables like $space.name, $space.type, and $space.createdAt.

Try for free

User Parameters

This macro comes without configurable user parameters.

Template

#set ($format = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")

<table class="aui aui-table-list">
  <thead>
    <tr>
      <th colspan="6">$space.name space</th>
    </tr>
    <tr>
      <th>Type</th>
      <th>Status</th>
      <th>Created</th>
      <th colspan="3">Links</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>$space.type</td>
      <td><span class="aui-lozenge aui-lozenge-subtle aui-lozenge-success">$space.status</span></td>
      <td>$DateUtils.parseDate($space.createdAt, $format)</td>
      <td><a href="$baseUrl/spaces/viewspacesummary.action?key=$space.key">details</a></td>
      <td><a href="$baseUrl/spaces/spacepermissions.action?key=$space.key">permissions</a></td>
      <td><a href="$baseUrl/spaces/$space.key/calendars">calendar</a></td>
    </tr>
  </tbody>
</table>