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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

716 views 21 12
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