OFFICIAL USER & ADMINISTRATOR DOCUMENTATION • 14 CONFLUENCE TABLES

SQLBox for Confluence — User & Admin Documentation

Official guide for SQLBox — SQL & CloudBridge Studio for Confluence (com.appsraha.confluence.sqlbox), including the CodeMirror 6 Global SQL Studio, 14 Confluence tables, Live Table Macro, Cross-Product Jira Mashup, and CloudBridge Exporter.

1. Quick Start Guide

Option A: Full CodeMirror 6 SQL Studio in Confluence

Open Apps → SQLBox Studio for Confluence from the Confluence navigation header. Select any of the 14 Confluence tables in the left-hand Schema explorer, write SQL with table-scoped column autocomplete and Format SQL, execute with Ctrl+Enter, browse paginated results (50 / 100 / 250 rows) or Recent History, use 1-click Quick Fix sample filters when querying filtered tables, switch to Confluence ↔ Jira Mashup mode, or export via Excel (.xlsx) and CloudBridge Sync.

Option B: Embed the SQLBox Live Table Macro on Any Page

  1. While editing any Confluence page, type /sqlbox and select SQLBox Live Table.
  2. Click the macro Edit (pencil) control to configure the Table Title, read-only SELECT SQL query, and Max Rows (up to 500 in macro view).
  3. Publish the page. Results render live and cache strictly per viewer (accountId + query SHA-256) for 3 minutes inside Atlassian Forge KVS so restricted space/page permissions never leak between viewers.

2. Complete Confluence Cloud Schema Reference (14 Tables)

All 14 Confluence tables below are directly selectable via read-only SELECT ... FROM <TableName> under your current Confluence user session:

#Table NameCategoryColsKey Columns & Usage Notes
1SpacesContent16Id, Key, Name, Type, Status, Url, Alias, Description, CreatedDate, LastModified
2PagesContent47Id, Title, SpaceId, SpaceKey, SpaceType, Status, OwnerId, ParentId, VersionNumber, CreatedByUserPublicName, CreatedDate, LastUpdatedDatetime, URL
3BlogpostsContent41Id, Title, SpaceId, SpaceKey, Status, CreatedByUserPublicName, CreatedDate, LastUpdatedDatetime, VersionNumber, URL
4CommentsCollaboration43Id, Title, SpaceKey, ContainerId, ContainerType, Location, Resolution, CreatedByUserPublicName, CreatedDate
5AttachmentsCollaboration38Id, Title, SpaceKey, ContainerId, MediaType, DownloadLink, CreatedByUserPublicName, CreatedDate
6GroupsDirectory3Id, Name, Type
7LabelsMetadata5ContentId, ContentType, LabelId, LabelName, LabelPrefix — requires a WHERE filter on ContentType, ContentId, or LabelName (e.g., WHERE ContentType = 'page'; 1-click Quick Fix available)
8TasksCollaboration15Id, PageId, BlogPostId, SpaceId, Status, AssignedTo, CreatedBy, DueAt, CreatedAt, CompletedAt
9UsersDirectory13AccountId, AccountType, PublicName, DisplayName, Email, Type, Url, LastModified
10GroupMembersDirectory13GroupId, Name, AccountId, DisplayName, PublicName, Email, AccountType
11SpacePermissionsGovernance6Id, SpaceId, OperationKey, OperationTargetType, PrincipalId, PrincipalType — requires a WHERE filter on SpaceId (e.g., WHERE SpaceId = '35258372'; 1-click Quick Fix available)
12ViewsAnalyticsAnalytics2ContentId, NumberOfViews
13AuditRecordsGovernance8AuthorDisplayName, AuthorType, Category, Summary, AffectedObjectName, AffectedObjectType, CreationDate, RemoteAddress (requires Confluence Standard or Premium plan)
14WhiteboardsContent44Id, Title, SpaceKey, Status, ContainerId, CreatedByUserPublicName, CreatedDate, LastUpdatedDatetime, URL, IsLatest

3. Security, Permissions & Zero-Retention Guarantees