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 Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,146 views 4 6
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