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

MICHAEL O'Neill
Contributor
January 30, 2012

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 at David Simpson Apps
Atlassian Partner
January 31, 2012

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

In Confluence 4.x and above, 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
Atlassian Team members are employees working across the company in a wide variety of roles.
January 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
TAGS
AUG Leaders

Atlassian Community Events