I'm trying to put together an onboarding guide using the default Confluence template. It begins with something like:
"Hi, <employee name>!"
I'm trying to figure out how to display the name of the user viewing the page? Obviously inserting a profile macro won't work because you must specify the user before hand.
I did some searching, and reach the doc's on the Profile macro, and it seems I should be able to use something like this:
{profile:user=$req.userPrincipal.name}
However, this does not work?
It's a bit frustrating that Jira provides these templates but does not make them "usable" in the sense that with how the template is currently setup, I would have to personalize the template for each new hire.
Maybe I'm thinking of this the wrong way, but what options are there for displaying information about the viewer on the page?
Thanks!