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
Accepted answer
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 Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,182 views 4 6
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