How do I use a {recently-updated} macro to always show results for the currently-logged-in user?

I see how I can type a specific user's name, but I just want it to always show results for content recently edited by the currently logged in user. Is there a way to do this?

2 answers

1 accepted

2 votes
Answer accepted
David Simpson Community Champion Jan 31, 2012

What Joseph said. Wrap the recently-updated macro in a user macro for the same ends.

In Confluence 4.x, something like:

<ac:macro ac:name="recently-updated">
	<ac:parameter ac:name="author">$action.remoteUser.name</ac:parameter>
</ac:macro>

In Confluence 3.x, something like:

{recently-updated:author=$action.remoteUser.name}

1 vote
Joe Clark Atlassian Team Jan 31, 2012

The macro doesn't have the ability to show content for the 'current user' built-in.

You could achieve this by creating a new user macro that wraps the recently-updated macro, passing in the current user as the macro parameter.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,353 views 2 13
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you