Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,534
Community Members
 
Community Events
165
Community Groups

How to develop a script to disables withdrawn employees' Jira accounts

Because of the way our Jira is configured to only create a user account when an LDAP user first signs in, when an employee leaves, the account in Jira stays active until a Jira admin actually goes in to disable the user.

 

We need a script that iterates over the list of Jira LDAP users, performs an LDAP lookup to determine if each employee is active, and disable the Jira account if the employee is withdrawn.  The script should notify to a group if it fails to disable the Jira account for any reason such as when the account is a lead of one or more project(s).

 

The script should be configured to run regularly (e.g. cron job, jenkins job).

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,113 views 34 44
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you