I am building a user macro that list all spaces. I would like to highlight those spaces where there has been no user action since X number of days, where user action means page updates or new pages.
I tried:
#set ( $spaceModificationDate = $space.getLastModificationDate() )
But this doesn't work, it shows an older date even when there has been more recent page updates in a space.
What would be the right way to find the latest date a page was updated or added in a space?
I would also like to know the user that performed that action.
Thanks in advance.