Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

own Macro - how can I read out the user detail data


I try to create my own macro and I want to read out the user details like the phone number.

At the meantime I get the userPicture and the full name. But how can I read the details?

I have this:

#set( $profileUser = $userAccessor.getUserByName($param0) )

#set( $userFullName = $profileUser.getFullName() )

This works fine.

I tried something like

#set( $userPhone= $userDetailsManager.getStringProperty($profile_user,"phone"))

but this doesn't work

1 answer

0 votes
Fabian Lim Community Leader Oct 26, 2021

Hi @e.baum

There is a workaround on this feature request. Take a look at the post and let us know if it worked:

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

43,184 views 30 134
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you