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
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
Joseph 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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published 10 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

92 views 2 4
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