Forums

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

How to get name of current user

Bo Chen May 13, 2020

Hi,

 

In my page, I would like to say something like:

Hello "user" 

Where "user" should be dynamically replaced by the currently logged in user. How can I do that?

1 answer

0 votes
Marc Jason Mutuc
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 13, 2020

Try this

issue.getAssignee().getDisplayName()

Marc Jason Mutuc
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 13, 2020

errr.... currentUser()

Bo Chen May 13, 2020

i am using confluence cloud. how would i type that in?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events