...
Here is Postgres-flavoured SQL, creating a queries.inactive_users
view, of users that can be deactivated (source at https://github.com/redradishtech/jira-user-deactivator-groovy/blob/master/active_users.sql):
Include Code | ||||
---|---|---|---|---|
|
Here is a corresponding Groovy script that reads usernames from the view, and deactivates those accounts (source):
Include Code | ||||
---|---|---|---|---|
|
...