Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Page version history

Dan Kontorovskyi March 26, 2016

Hello,

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

 

Thank you. 

1 answer

0 votes
Stephen Deutsch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 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?

Dan Kontorovskyi March 26, 2016

I'm asking how to do this in Java.

Stephen Deutsch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 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
TAGS
AUG Leaders

Atlassian Community Events