Page version history

Hello,

Do somebody knows how you can get all previous page version dates in efficient way?

 

Thank you. 

1 answer

0 vote
Stephen Deutsch Community Champion Mar 26, 2016

When on a page, click on the Tools Menu (or ● in newer versions on the upper right corner of the page), choose "Page History", and then it should show all the previous version dates in a nice table.

Or are you asking about getting version dates for all pages at once?

I'm asking how to do this in Java.

Stephen Deutsch Community Champion Mar 26, 2016

ContentEntityManager (https://docs.atlassian.com/confluence/latest/com/atlassian/confluence/core/ContentEntityManager.html) has a function called getVersionHistorySummaries, which is just a list of objects.  Then you should be able to step through the VersionHistorySummary objects and call getLastModificationDate() on each one.

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 ...

915 views 23 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