Forums

Articles
Create
cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β 

πŸ”„ Keep Your PlantUML Diagrams in Confluence in Sync with GitHub

plantuml-github-sync-hero.gif

Ever updated a diagram in Confluence... only to find out later that GitHub had already moved on without it?

Yeah. We've all been there.


Your Architecture Never Stops Changing

πŸ“ˆ Your architecture evolves. πŸ”€ Your workflows change. βž• Components get added. βž– Components get removed.

Your GitHub repo? Always current. Your Confluence diagram? …maybe not so much. 

πŸ“ GitHub (.puml source)   β†’   😎 Up to date
πŸ“„ Confluence diagram      β†’   😴 Stuck in the past


That gap is a documentation gap β€” and it quietly erodes trust in your docs.

πŸ’­ So... what if your Confluence diagram could just refresh itself from GitHub?


Meet: Git-Connected PlantUML Diagrams

With PlantUML Diagrams & Charts for Confluence, you can connect your diagrams directly to the source files living in your Git repo β€” GitHubGitLab, or Bitbucket, all supported.

No more static, disconnected diagrams. Just:

πŸ“ Repo  β†’  πŸ–ΌοΈ Diagram  β†’  πŸ“„ Confluence page

One connected line, always pointing back to the truth. ✨


The Problem, Visualized

πŸ™ GitHub                πŸ–ΌοΈ PlantUML Diagram          πŸ“„ Confluence
architecture.puml   ➑️        renders           ➑️     documentation
      βœ… current                                        βœ… matches (for now)

Then... a developer pushes a change. πŸ‘¨β€πŸ’»βŒ¨οΈ

βž• New service added
πŸ”Œ API connection changed
βž– Old component removed
πŸ” Workflow updated
πŸ™ GitHub   β†’   βœ… up to date
πŸ“„ Confluence diagram   β†’   ❌ still the old version


Someone has to remember to update it manually. Spoiler: they usually don't. And that's exactly where docs start falling behind.


The Fix: Connect, Don't Copy-Paste

Instead of treating your diagram as a static screenshot, connect it straight to the PlantUML source in your repo. When the code changes, hit refresh πŸ”ƒ and pull the latest version β€” no manual rebuild required.

The Workflow

1️⃣ PlantUML source lives in GitHub Your team keeps managing code where code already lives.

2️⃣ The Confluence diagram connects to the repo One-time setup β€” link it and forget it.

3️⃣ A developer updates the PlantUML code New service? New flow? No problem β€” it happens in GitHub, as usual.

4️⃣ Refresh the diagram in Confluence One click pulls the latest source.

5️⃣ Confluence shows the current diagram Documentation, caught up automatically.


See It in Action

 GitHub source β†’ updated PlantUML β†’ refresh β†’ latest diagram in Confluence

GitHub_Sync.gif

πŸ’‘ The big idea: you never have to manually rebuild a diagram from scratch again.


Why Development Teams Love This

Developers stay in GitHub β€” no forced move to a separate diagramming tool

Docs stay close to the source β€” GitHub for code, Confluence for collaboration

Fewer manual updates β€” no more copy-paste-redraw cycles

Docs stay relevant β€” architecture, sequence, and component diagrams refresh with a click

Supports sequence, class, activity, component, state, use-case, deployment, ER, Gantt, mindmap, and WBS diagrams and more...


A Real-World Example


Before
πŸ•

πŸ“¦ Application
 β”œβ”€ πŸšͺ API Gateway
 β”œβ”€ πŸ” Authentication Service
 β”œβ”€ πŸ›’ Order Service
 β”œβ”€ πŸ’³ Payment Service
 └─ πŸ—„οΈ Database

Team adds a new Notification Service β†’ developer updates the .puml file in GitHub.

After πŸ•‘

πŸ“¦ Application
 β”œβ”€ πŸšͺ API Gateway
 β”œβ”€ πŸ” Authentication Service
 β”œβ”€ πŸ›’ Order Service
 β”œβ”€ πŸ’³ Payment Service
 β”œβ”€ πŸ”” Notification Service   ⬅️ NEW
 └─ πŸ—„οΈ Database

No manual redraw. Just hit refresh πŸ”„ and the Confluence page catches up.

1️⃣ source. 1️⃣ diagram. πŸ“‰ Less drift.


The GitHub + PlantUML + Confluence Combo

πŸ“ GitHub           =  🧠 Source of truth
πŸ–ΌοΈ PlantUML         =  🎨 Visualization
πŸ“„ Confluence       =  🀝 Collaboration & docs

A clean separation of concerns β€” everything doing what it's best at. 


Who's This For?

  • Software development teams
  • Solution & software architects
  • DevOps teams 
  • Engineering teams maintaining architecture diagrams 
  • Anyone using Confluence as a technical knowledge base 
  • Teams already keeping PlantUML source in GitHub


Stop Letting Diagrams Go Stale

A diagram shouldn't go out of date just because the code moved on without it. 

❌ OLD WAY:   Change code  β†’  forget diagram  β†’  outdated docs
βœ… NEW WAY:   Change source β†’  refresh diagram β†’  docs stay current


Try It Yourself

Create PlantUML diagrams directly in Confluence, connect them to your Git repos, and keep your visual documentation as fresh as your codebase. 🌿

πŸ‘‰ Get PlantUML Diagrams & Charts for Confluence on the Atlassian Marketplace

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events