February 26, 2024

Confluence Expand Version Information

I share here a small AutoHotkey script to provide a nice Confluence version information with a link to it.

Problem description

We use a Document History subpage to document the versioning of a  Confluence document i.e. based on a multiple pages. We would like document the document version with a nice link to the date information.

Implementation

Implementation relies on the Confluence API.

See gist.
#If Confluence_IsWinActive()
::,ver:: ; Page version info
sHtml := Confluence_GetVerLink(url:="")
Clip_PasteHtml(sHtml)
return
view raw Main.ahk hosted with ❤ by GitHub


It is also included in the PowerTool Confluence Library, function Confluence_GetVerLink

Usage

Simple type ,ver and it will automagically expand into something like: 

If the page name starts with "Document History" or "Workproduct History" it will look for the version information of the parent page.