USE CASE #3
To reduce license / remove license groups for inactive and never login JSM user agent licenses.
STEP-1
Configure Skip JSM users for inactivation or deactivation process.
STEP-2
Verify Admin user in App settings > Click update again to confirm.
Note. If your admin username is email prefix then please ensure this email address is not associated for other users.
STEP-3
Go to, System General Configuration > Click Manage Inactive Users.
Configure the manage Inactive JSM Users form for USE CASE #3 to reduce license / remove license groups for inactive and never login JSM user licenses:
User Directory Names:
Choose user directories to process users for inactivation specific to these directories.
Processing Group:
Its faster and recommended to process users for inactivation from specific group (e.g jira-servicedesk-users).
For testing you can use the group with small number of users.
If empty it processes all users.
Deactivate Users (Optional):
Disable if purpose / objective to just reduce license counts.
Disable if you’re planning to grant License on login attempt.
Disable if user directory is read-only.
Remove Groups:
Enter a comma separated license groups (e.g. jira-servicedesk-users) to remove for inactive users.
Add Groups:
Its recommended to add those inactive users for tracking. e.g. jira-inactive-servicedesk-users.
Activate:
To enable Automatic Clean up.
That's it!
Additional information.
All atlassian provided user directories are supported:
Supports license groups removal and helps to reduce license count.
For User Deactivation:
User Directory must have read + write permissions i.e. in your user directory simply uncheck option [Update User attributes on Login].
For Crowd Directory: Enable Read/Write access at crowd properties.
STEP-4
Perform Manual or On demand Clean.
Go to, On Demand Run > Click Never Login Users Clean
Go to, On Demand Run > Click Inactive Users Clean
STEP-5
Go to, Manage Inactive Users > App Settings > Schedule
To Configure Schedule for Automatic Clean.
Use below cron entry to schedule Inactive users clean up every Saturday at 6AM.
0 0 6 ? * SAT *
To verify go to System > Scheduler details.
STEP-6
To Debug Manage Inactive Users App:
Go to, System > Logging and profiling > Configure
Class/Package Name: com.tse.jira.deactivateusers.plugin Level: Debug