How do I insert the value of the 'Last Updated' into a Confluence page ? i.e. the date and time on the last update in the version history ?
@Michael Green Do you want it to be displayed on the screen or as part of the content of the page?
If displayed on screen, I see this in the top menu bar:
If within the content, I believe the other responders have covered this.
@Michael Green I vaguely recall seeing a list of such global/system variables at some point in the last 2.5 years, but, of course, I cannot find it now.
What I did find
There is a Smart Value for this:
{{content.dateLastUpdated}}
The date the content (page or blog) was most recently updated
This is described on this page: https://support.atlassian.com/cloud-automation/docs/smart-values-in-confluence-automation/
These are listed for use in automations, but this linked page makes it sound like you can use them directly on a page: https://support.atlassian.com/cloud-automation/docs/what-are-smart-values/
Please let us know if this works!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Barbara Szczesniak Ideally as part of the content. I can't field Confluence doesn't have set of field codes like other editors :(... Even Microsoft Word has field codes !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Michael Green Interestingly, this information is not displayed on the UI 👀
There are a couple of feature requests related to these timestamps:
You could see this info if you use REST API > Get page by id, where you can find the version date of creation; that just feels like overkill 😅
Maybe you could use Confluence automation to add a timestamp at the top of the page or just a comment every time the page is updated 🤔
Cheers,
Tobi
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.