The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use @self option in confluence-conent params?

Ramesh Lakshmanasamy
March 15, 2018

i created macro page info autosearch using type "confluence-content".But now i want add @self  option .

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Fabio Racobaldo _Catworkx_
Community Champion
February 23, 2024

Hi @Ramesh Lakshmanasamy ,

try to use the following parameter in your macro code :

#set( $username = "$req.getRemoteUser()" )

Hope this helps,

Fabio

TAGS
AUG Leaders

Atlassian Community Events