Want to setup a template in Confluence to auto get current user name. When user creates new page with the template, it will show user's name on the page.
1 Answer
Thanks this thread, following Writing User Macros Guide, add below code then page will dynamically get current user name.
## @noparams
$action.remoteUser.name