Aller au contenu

Confluence Cheat Sheet

Overview

Confluence is Atlassian’s team workspace and wiki platform used by organizations to create, organize, and collaborate on documentation, meeting notes, project plans, and knowledge bases. It integrates deeply with Jira, Trello, and Bitbucket, making it a central hub for team knowledge.

Confluence is available as a cloud-hosted service or self-hosted (Data Center) deployment. It features a rich WYSIWYG editor, page templates, macros for dynamic content, spaces for organization, granular permissions, and a powerful search engine.

Getting Started

Content Hierarchy

Confluence Instance
├── Spaces
│   ├── Engineering Wiki
│   │   ├── Pages
│   │   │   ├── Architecture Overview
│   │   │   │   ├── Frontend Architecture
│   │   │   │   └── Backend Services
│   │   │   └── Onboarding Guide
│   │   └── Blog Posts
│   ├── Product Documentation
│   └── HR and People
└── Personal Spaces

Keyboard Shortcuts

Editor

ShortcutAction
Ctrl+SSave / Publish page
Ctrl+BBold
Ctrl+IItalic
Ctrl+Shift+MInsert code snippet
Ctrl+Shift+DInsert macro
Ctrl+Shift+7Numbered list
Ctrl+Shift+8Bullet list
Ctrl+Shift+9Task list
Ctrl+KInsert link
Ctrl+MInsert files/images
//Date picker
/Slash commands (Cloud)
@Mention a user
[]Insert action item
ShortcutAction
G then GGo to dashboard
G then SBrowse current space
/Quick search
CCreate new page
EEdit current page
?Show keyboard shortcuts

Page Editor

Content Blocks

BlockDescription
HeadingH1 through H6
TableData table
Code blockSyntax highlighted code
PanelColored info panels
ExpandCollapsible section
StatusColor-coded status lozenge
DecisionDecision record
TaskAction item with assignee
LayoutMulti-column layouts

Panel Types

PanelColorUse Case
InfoBlueGeneral information
NoteYellowImportant notes
SuccessGreenPositive outcomes
WarningOrangeCaution messages
ErrorRedErrors or dangers

Macros

MacroDescription
{toc}Table of contents
{children}List of child pages
{excerpt}Define a page excerpt
{include}Include another page
{jira}Display Jira issues
{status}Colored status lozenge
{chart}Create charts from table data
{page-tree}Hierarchical page tree
{recently-updated}Recently changed pages
{expand}Collapsible content
{code}Code block
{anchor}Named anchor for deep linking

Templates

Built-in Templates

TemplateUse Case
Meeting NotesAgendas, notes, action items
DecisionRecord and track decisions
RetrospectiveSprint retrospectives
How-To ArticleStep-by-step guides
Product RequirementsPRD documentation
TroubleshootingIssue resolution guides
OKRObjectives and key results

Spaces

Space Permissions

PermissionDescription
ViewRead pages in the space
AddCreate new pages
EditModify existing pages
DeleteRemove pages
AdminManage space settings and permissions
ExportExport space content

Search Operators

OperatorExampleDescription
"exact phrase""deployment guide"Exact phrase match
ANDdocker AND kubernetesBoth terms required
ORguide OR tutorialEither term
NOTapi NOT deprecatedExclude term
type:pagetype:page dockerFilter by content type
space:ENGspace:ENG setupFilter by space key
creator:usernamecreator:jdoeFilter by author
label:importantlabel:importantFilter by label

REST API

# Get page content
curl -u user@example.com:API_TOKEN \
  "https://domain.atlassian.net/wiki/rest/api/content/PAGE_ID?expand=body.storage"

# Create a page
curl -X POST \
  -u user@example.com:API_TOKEN \
  -H "Content-Type: application/json" \
  "https://domain.atlassian.net/wiki/rest/api/content" \
  -d '{
    "type": "page",
    "title": "New Page Title",
    "space": {"key": "SPACE_KEY"},
    "body": {
      "storage": {
        "value": "<p>Page content</p>",
        "representation": "storage"
      }
    }
  }'

# Search content
curl -u user@example.com:API_TOKEN \
  "https://domain.atlassian.net/wiki/rest/api/search?cql=type=page+AND+text~docker"

Advanced Usage

Page Properties Macro

Create structured data tables that can be queried across pages with the Page Properties Report macro for dashboards.

Automation Rules

TriggerAction
Page createdAdd labels, send notification
Page updatedNotify watchers, post to Slack
Blog publishedShare on team channels
Label addedMove to specific space

Troubleshooting

IssueSolution
Page loading slowlyReduce macro count; optimize embedded content
Search not finding pagesCheck space permissions; wait for re-indexing
Formatting lost on pasteUse Ctrl+Shift+V for plain text paste
Jira macro showing errorsVerify Jira application link
Version conflictsUse page history to compare and merge
Export missing contentEnsure macros are supported in export format
Template not appearingVerify template is in correct space
Space permissions not applyingCheck group memberships