Is there a Macro to display Last Update Date of the Page
You could create your own as a user macro:
https://confluence.atlassian.com/doc/writing-user-macros-4485.html
## @noparams Last Modified: $action.dateFormatter.formatDateTime($content.lastModificationDate)
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Stephen Deutsch you seem to have alot of experience in writing confluence plugins so maybe you have a tip or idea on how to extent this plugin to display like the last 5 Modified Dates of a page ? Thank you in advance and have a nice weekend! :)
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like it's the formatting that's broken, because this works:
## @noparams
#set ( $dateInfo=$content.lastModificationDate)
Last Modified: $dateInfo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For inclusion in a page properties report, I found the contributors summary too cumbersome. It's a table within a table. But I found that I could modify the Contributors macro to include the last updated, with the inline format, works perfectly!
Useful for PageProperties reports of various project status pages, and providing a "freshness" index of projects.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lisa,
very useful tip!
Can you explain a bit more on how you do the inline format?
I want to add the "last update" to my page properties table and it would indeed look much better if it was not shown as a table in a table.
I am not that familiar with confluence (and not tech savvy) so a bit more information would be much appreciated. ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eline,
The example that I responded to used the macro "Contributors Summary" which produces a table. There is another macro called "Contributors" which -By Default- does not list the last update - but you can modify it. Here's the steps I use:
Type "/contri" - short cut to the macros menu, select "Contributors" - press enter
You now have a box that says 'contributors' and an edit menu [pencil, width setting, trash]. - Select "Edit" to bring up a dialog box.
You now have many settings to change... "Contribution Type", Sort By, Maximum number of Contributors, Display format,
Select the box that says "Show Last Contribution Time?"
And you can keep the list tidy by setting the Maximum number of Contributors to 1 or 2.
Save that and you'll end up with something that looks like
[Last update: Lisa.Napier (12 days ago) ]
Hope that helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for this! Helped me a lot :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are using Confluence Server then you can use the Confluence Macro "Contributors Summary" macro.
Configure the macro with
Group By: contributors
Columns to Display: lastupdate
Sort By: update
Maximum Number of Items:1
This will show the User and the Last Update details for the page.
What's really useful is that if you include the "Contributors Summary" within a row of a "Page properties" macro e.g.
and label the page. You can get a summary of such pages in another Confluence page using the "Page properties report" macro. In the above set up, the summary will show columns with:
Title | Description | Details (within the details there will be User | Last Update) | Next Review | Status
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Alejandro Sanfeliu Vernis ,
Handy Timestamp does exactly what you need. It is a macro included in Handy Macros for Confluence.
Use it to insert the page creation, update, or the date of inserting the timestamp. It works in Confluence native macros, i.e. Page Properties Report, so you can generate overviews with Handy Timestamp.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.