It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a pronoun for "the currently logged in user"?

In a recent question, one answer was to insert a macro for user content. Essentially,


 Is there a pronoun that will always resolve to the current user? That is, so each user can see content based on their own username?

1 answer

1 accepted

2 votes
Answer accepted

Hi Shaun,

you can write a wrapper around this macro.

Create a new user macro, call it e.g. content-by-logged-in-user.

The macro has no body and this template:

## Macro title: content-by-logged-in-user
## Developed by: Thomas Schlegel
## @noparams


<ac:structured-macro ac:name="content-by-user" ac:schema-version="1">
<ac:parameter ac:name="">
<ri:user ri:userkey="$userkey"/>

OK. I was hoping for something built in, but I understand. (Wanders off to figure out how to create a macro...)

Thomas_Schlegel Community Leader Dec 11, 2017

@Shaun Griffith

Creating a user macro is not such a big thing. Maybe my article might help you with that:

This is about creating a user macro for another purpose, but the basics are the same.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

278 views 9 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you