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 edited

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 edited

.

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
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events