Page version history

Hello,

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

 

Thank you. 

1 answer

This widget could not be displayed.
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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

523 views 7 6
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