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.


Sanu P Soman

1 answer

1 accepted

1 vote

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,323 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot