Display user's email ID to a custom field.

Hi All,

We have a user picker custom field called "Test User" and want to display email id of this "Test User" to another field. So, please suggest the best way to do this.

Please let me know if need any additional info.

Thanks,

Sanu P Soman

1 answer

1 accepted

This widget could not be displayed.

You'll need to do some coding for this - the email address of a user is not pulled into the html for any given page.  A simple derived field should do it (I'd use the scripted field functions in the script runner)

Bear in mind that you could be exposing personal information though, and you'll be bypassing the built in "only certain people can see other users email address" unless you code for it specifically.

Thanks for the reply. Can you please share some example?

I've not written code for that before, I just know I could if I tried, as I've done other stuff with user objects. What I could give you isn't going to get you very far - it really is "install script runner, write a scripted field that grabs another field value, reads a user from it and extracts their email address"

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

173 views 2 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you