Page version history

Hello,

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

 

Thank you. 

1 answer

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.

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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,183 views 2 13
Read article

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