How to auto-deactivate Jira users when using LDAP integration?

I was surprised to findout that Jira users do not appear to be disabled when their accounts are disabled on LDAP.

Yes, they are not able to login anymore into Jira but still the other users do not see them as disabled users while browsing.

In fact it is even impossible to deactivate them if you are using LDAP, the option being available only when you user local directory.

The old way of "disabling" users was to remove all group memberships for the users but this is a very bad practice, as people may leave the company and return after, and sometimes this can even happen if they switch between temporary or permanent employee.

AD/LDAP has a good practice of maintaining the same account for everyone, for ever, only disabling them when people leave.

How can we solve this problem and be able to see the people left the company (diabled LDAP accounts) as disabled account in Jira.

This is essential because it allows people to reasign bugs to others when they see the "crossed" line above the disabled users.

3 answers

1 accepted

Accepted Answer
3 votes

JIRA now has the disabling of users feature. It should only be a matter of implementing

That is still unResolved at the moment!

Hi Sorin

This is a known improvement request:

LDAP Delegate: Synchronize with AD to disable deleted users >

I encourage you to vote on the ticket above and add yourself as a watcher. In case of updates, you'll be notified by email.

However, perhaps you may try to create a custom BATCH script or any other customization for auto-update the JIRA memberships after monitoring LDAP actions. Don't forget to use the as a reference regarding the JIRA structure.


Paulo Renato

Actually, this is only for Crowd. You need to vote on JRA-24937 for direct JIRA LDAP/AD integrations.


JIRA uses the guts of Crowd as its User Management library.

Improvements to Crowd LDAP support will also turn up in JIRA.

This should now be solved for AD directories:

For other LDAP directories you should refer to:

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

44 views 2 4
View post

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