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.
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.
/sqlbox and select SQLBox Live Table.SELECT SQL query, and Max Rows (up to 500 in macro view).accountId + query SHA-256) for 3 minutes inside Atlassian Forge KVS so restricted space/page permissions never leak between viewers.All 14 Confluence tables below are directly selectable via read-only SELECT ... FROM <TableName> under your current Confluence user session:
| # | Table Name | Category | Cols | Key Columns & Usage Notes |
|---|---|---|---|---|
| 1 | Spaces | Content | 16 | Id, Key, Name, Type, Status, Url, Alias, Description, CreatedDate, LastModified |
| 2 | Pages | Content | 47 | Id, Title, SpaceId, SpaceKey, SpaceType, Status, OwnerId, ParentId, VersionNumber, CreatedByUserPublicName, CreatedDate, LastUpdatedDatetime, URL |
| 3 | Blogposts | Content | 41 | Id, Title, SpaceId, SpaceKey, Status, CreatedByUserPublicName, CreatedDate, LastUpdatedDatetime, VersionNumber, URL |
| 4 | Comments | Collaboration | 43 | Id, Title, SpaceKey, ContainerId, ContainerType, Location, Resolution, CreatedByUserPublicName, CreatedDate |
| 5 | Attachments | Collaboration | 38 | Id, Title, SpaceKey, ContainerId, MediaType, DownloadLink, CreatedByUserPublicName, CreatedDate |
| 6 | Groups | Directory | 3 | Id, Name, Type |
| 7 | Labels | Metadata | 5 | ContentId, ContentType, LabelId, LabelName, LabelPrefix — requires a WHERE filter on ContentType, ContentId, or LabelName (e.g., WHERE ContentType = 'page'; 1-click Quick Fix available) |
| 8 | Tasks | Collaboration | 15 | Id, PageId, BlogPostId, SpaceId, Status, AssignedTo, CreatedBy, DueAt, CreatedAt, CompletedAt |
| 9 | Users | Directory | 13 | AccountId, AccountType, PublicName, DisplayName, Email, Type, Url, LastModified |
| 10 | GroupMembers | Directory | 13 | GroupId, Name, AccountId, DisplayName, PublicName, Email, AccountType |
| 11 | SpacePermissions | Governance | 6 | Id, SpaceId, OperationKey, OperationTargetType, PrincipalId, PrincipalType — requires a WHERE filter on SpaceId (e.g., WHERE SpaceId = '35258372'; 1-click Quick Fix available) |
| 12 | ViewsAnalytics | Analytics | 2 | ContentId, NumberOfViews |
| 13 | AuditRecords | Governance | 8 | AuthorDisplayName, AuthorType, Category, Summary, AffectedObjectName, AffectedObjectType, CreationDate, RemoteAddress (requires Confluence Standard or Premium plan) |
| 14 | Whiteboards | Content | 44 | Id, Title, SpaceKey, Status, ContainerId, CreatedByUserPublicName, CreatedDate, LastUpdatedDatetime, URL, IsLatest |
x-forge-oauth-user) — users never see restricted spaces, pages, or Jira issues they lack permission to read.accountId and SHA-256 query signature with a 180-second TTL, preventing cross-user data leakage on shared pages.https://engine.appsraha.com evaluates SQL and compiles exports solely in volatile memory without storing Confluence content on disk or external databases.