How can I delete revision history?

We have created a relatively large diagram, and during its creation, the author has saved almost a thousand times (all very minor changes).

The revision history is now huge - is there a way to delete individual revision history entries for diagrams (similar to deleting revision histories for Confluence pages)?


1 answer

1 accepted

It depends if you want to keep only the latest revision or just remove some historical revisions.

Keep just the latest revision

Make a copy of your diagram by clicking 'Duplicate' on the macro toolbar in page editor.

That would create a copy from the latest revision. This would keep the original diagram just in case.

Remove some revisions

You can remove attachment revisions from the attachments view. You would need to do it for two attachments, XML that stores the diagram contents and the PNG. There could be some 3rd party plugins that can automate this as it can be tedious if you are removing hundreds of revisions, times two.

Keep in mind that drawio macro has a revision parameter which makes it display a particular diagram revision. Browsing through a page history will make it unable to display certain diagram revisions.


In either case, it's best to experiment on a copy of the page, just to be safe.

Suggest an answer

Log in or Join to answer
Community showcase
Kesha Thillainayagam
Posted Mar 05, 2018 in Confluence

We want to know what templates you're using in Confluence!

Hi Community!  My name is Kesha (kay-sha not Ke$ha) and I'm on the Confluence Product Marketing team. We are trying to understand and improve template use cases in Confluence, and are intereste...

2,606 views 25 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot