Date a space was last modified

I am creating a report about all spaces in a Confluence instance using the reporting plugin.

I would like to show the las time the space was "touched" (page edited, commented, file attached).

The plugin has a Space supplier but the modification date it prints doesn't match my expectations (seems that this date is the last time some space related info was updated, not the space content date).

Any suggestions?

Thank you.

1 answer

0 votes
Joe Clark Atlassian Team Mar 15, 2012

The Space's modification date will reflect that last time the space's own metadata was updated (space name, space description, etc.).

You'll need to use the PageManager, CommentManager and AttachmentManager to piece together recently updated content in each space. There are methods on each of these interfaces to retrieve recently updated content for a particular space.

I don't think there's any easy way to aggregate this all together via the API, unfortunately.

Hi, I was able to get this report using the reporting plugin, it's sort of complex but it does its job.

Joe Clark Atlassian Team Mar 18, 2012

That sounds like a better solution - nice one :-)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

462 views 3 18
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