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

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

119 views 0 5
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