Can we add email addresses for AD users using SQL into the JIRA database

We have some people in AD whose records are 'contacts' and not 'users', and there is no email associated to them for this reason in their JIRA user account.  If we were to add the email addresses directly into the JIRA db (by SQL) would they persist after the next AD sync (I am thinking the blank record in AD email address field might overwrite the manually entered data in the email address fields in JIRA).  Looking for advice on the best way to do this and want to make sure the data persists after re-indexing and/or a JIRA restart, and future AD Sync's.

1 answer

1 accepted

This widget could not be displayed.

Standard advice - never update an Atlassian application's database directly.  It will almost always go wrong.

In this case, it's a moderately simple update, and, although it will work if you follow the usual SQL path (Stop JIRA, back it up, run the SQL, start JIRA and re-index if you've touched index-related data), you are right about the next update.

JIRA just acts as a local cache when you have external directories.  Every update from AD is going to overwrite your local data, because it is just a cache.

You need to give these contacts email addresses in AD if you want them to have emails in JIRA.

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 yesterday 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...

50 views 1 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