Hi Everyone,
We have started using Confluence recently and we need your help on one issue:
We want to advance our documentation process just like in the below.
We want it to continue like v.1-v.1.1-v.1.2.
We would be glad if anyone can tell us how we can do this process.
Thanks,
Hi all,
With the code below, we have successfully created the documentation version numbers.
I am also adding the image.
## @noparams
#set($containerManagerClass=$content.class.forName('com.atlassian.spring.container.ContainerManager') )
#set($getInstanceMethod=$containerManagerClass.getDeclaredMethod('getInstance', null) )
#set( $containerManager=$getInstanceMethod.invoke(null,null) )
#set( $containerContext=$containerManager.containerContext )
#set( $pageManager=$containerContext.getComponent('pageManager') )
#set( $allVersions=$pageManager.getVersionHistorySummaries($content) )
<table>
<tr>
<th>Tarih</th>
<th>Version</th>
<th>Modifiye Eden</th>
</tr>
#foreach( $version in $allVersions )
<tr>
<td>$action.dateFormatter.formatDateTime($version.getLastModificationDate())</td>
#set ( $cV = -1+$version.getVersion())
#if ($cV<5)
<td> v1.$cV</td>
#end
#if ($cV>=5 && $$cV<10)
#set($mdx=-5+$cV)
<td>v2.$mdx</td>
#end
#if ($cV>=10)
#set($cdx=-10+$cV)
<td> v3.$cdx</td>
#end
<td>#usernameLink($version.getLastModifierName())</td>
</tr>
#end
</table>
I work with the team that makes the Scroll Versions app. There's no great way to control the versioning on a page level, since Confluence handles it automatically, but you could use our app to have a space-wide version, where you can use whatever version numbering you'd like.
We also have this guide for writing documentation in Confluence, which might be helpful for your team: https://www.k15t.com/rock-the-docs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.