User Picker For Emails

Can someone please suggest how to add a select or multi-select list field to a screen in JIRA 4.4 that allows us to select the email address tied to the user's profile. Ideally, I would like for the end user to be able to select a user in the Username/Assignee field, and the email automatically appears in an adjacent (email address) field. We'd also like to be able to select mutile users/email addresses. I believe the solution may be dropping in a script in the field's description, but I'm not sure what that code should look like or even if that is the best option.

BTW, we don't need to be able to send the email, just select and display the one tied to the user(s) account.

Thanks in advance!

Sergeo

1 answer

1 vote

Sergeo,

I've searched and searched in our documentation and I think I have a solution although its not ideal (I hope someone can help find an easier way to do this...)

First, you will have to create a custom field to display the user email address in the issue. This documentation provides step by step instructions for how to create a custom field (although it's written for JIRA 5.0): https://developer.atlassian.com/display/JIRADEV/Creating+a+Custom+Field+in+JIRA

Second, you will have to write some Javascript to display a field based upon another field selection. This documentation provides an example of how this is done (although it's written for JIRA 5.2): https://confluence.atlassian.com/display/JIRA052/Displaying+a+Field+Based+on+Another+Field+Selection

So aside from providing you with documentation for later versions of JIRA that may not apply, I haven't really helped. I did look into the Atlassian Marketplace to see if I could find someone else who could help and I found Buzz (https://marketplace.atlassian.com/plugins/com.mizan.buzz) Its a plugin that displays a users phone number when they are assigned and its for JIRA 2.0.

Now I know its not quite the same use case, phone number is not email, but maybe @Mizan can provide an update on how to get email address to display when a user is assigned.

- Alex

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,331 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