Override AD syncronized email adress


We use Microsoft Active Directory for user autenthication but since some users do not have any email configured in the AD, they do not get any email notification. Anyone knows how to resolve this?

What we tried without success:

DB trigger to overwrite the 'empty' email syncroinzed from the AD -> Restart required to pick up the new email.

Update the user over the REST api -> Cannot update AD users since they are read only.

Use local users instead of AD users -> Increase our user management significantly.


Any ideas? Any experience of 'Enterprise Mail Handler for JIRA' can solve this?




1 answer

4 votes
Zack Seibert Community Champion Mar 07, 2016

You can choose to map a different LDAP attribute to the mail account used in JIRA through Advanced Directory Settings in the "User Schema Settings" section. Maybe you can make a new LDAP attribute in your Active Directory called "jira-mail" or something similar and put the email addresses you want to use in there? It would be organization-wide, so it would require you to do this for all users in your AD, but it should be pretty easy to add this into your new user creation workflow. 

Thanks for the answer.

Company policy do not allow non-empoyee data in our AD due to personal integrity issues. This is not a technical issue, it is possible to add the relevant emails in the AD, but we are not allowed.


Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

103 views 0 2
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