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

0 votes
Answer accepted

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
Community showcase
Published Thursday in Jira

Updates to give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

324 views 1 12
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