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
Accepted answer

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,097 views 4 9
Read article

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