display email in user picker field

Hana Kovalcikova July 2, 2015

Hello, 

Is it possible to display email in the user picker field used in "Send a custom email" post function?

Thank you,

Hana

3 answers

1 accepted

1 vote
Answer accepted
JamieA
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.
July 3, 2015

Replace name with emailAddress.

 

Hana Kovalcikova July 5, 2015

Thank you! This is what I needed.

0 votes
Hana Kovalcikova July 2, 2015

I'm using the script post function "Send a custom email" in my workflow. The text In the email template contains some fields that are in the ticket, specifically I'm using the user picker field assignee in the body:

contact=$issue.assignee.name

Is there any option to display user's email instead of user ID? This is the current preview of my template:

contact=mcruz 

but I would like to display the user's email:

contact=mcruz@hotelbeds.com

 

Thank you,

Hana

 

0 votes
JamieA
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.
July 2, 2015

I don't understand, can you rephrase.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events