Forums

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

How to retrieve the user displayname from a custom field?

Lyle de Groot December 5, 2023

Hi There

 

I have created a custom field of type : user picker

I want to include the username value of the field in an email, and have tried {{issue.customfield_xxxxx}} but all it returns is the guid (62f0dee05111209f4fdff366), instead of the actual display name of the user.

Can anyone offer advice what I am doing wrong please?

Cheers

 

PS: 

Oh and I have also tried {{issue.datahandler.displayName}}, where 'Data Handler's is the name of the custom field mentioned above.

1 answer

1 accepted

0 votes
Answer accepted
Lyle de Groot December 5, 2023

.

Abel A December 5, 2023

Hi @Lyle de Groot 

Add a space between Data Handler -> {{issue.Data Handler.displayName}}. This works for me. 

Lyle de Groot December 5, 2023

Thank you, could have sworn I tried that but it worked, cheers

Like Abel A likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events