Automatically adding users when creating issues via email handler - Can add as LDAP instead of JIRA Directory?

We have a project where users can send in a request via an email address and it creates a new issue in JIRA. We have it set so that if the email is not recognized, JIRA sets up an account for the user. 

Right now, it sets up the account in the JIRA Directory. We'd like for it to automatically use the Delegated LDAP Directory since that's what we're using for our accounts. 

Is there a way to set this up so that the auto creation uses the right directory, or will we periodically have to find all of the JIRA directory accounts and convert them in bulk? 


1 answer

1 accepted

1 vote
Answer accepted
Mikael Sandberg Community Champion Nov 08, 2016

It all depends on the order of your user directories. If you want the user to be created in your LDAP directory it has to be before the JIRA internal directory.

Thanks! That explains the "order" for the directories.

Chris Fuller Atlassian Team Nov 08, 2016

One small note: Not necessarily the first directory, but the first writable directory.  If the first directory in the list is not configured to have writes enabled, then JIRA will move on to the next one.

The order does not only impact which one is selected for creating new users; it also determines the order in which they are searched.  This can have some performance impact on systems with a large number of users (you'd normally want the directory that has most of your users in it listed first).

More importantly, if you have the same user account listed in multiple directories, the first directory that they are found in is the one that wins.  That same username from the directories that follow are said to be "shadowed" and JIRA will generally ignore them, including whatever group memberships they might have.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

393 views 6 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