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 vote
Joseph 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.

Joseph Clark Atlassian Team Mar 18, 2012

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

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,803 views 26 10
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