Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

...

Set up a schedule that automatically cleans up users after 14 days of inactivity

Table of Content Zone

Add schedule

To set up an automatic schedule, go to Scheduling and cleanup → Add schedule.

Skjermbilde 2024-08-17 kl. 13.11.26.pngImage Modified

Specify Scheduling display name

Enter a descriptive name of the schedule. This will help you distinguish between schedules.

Specify Selection criterias

Configure the requirement of user activity in the cleanup, as in the amount of days since the last time they logged in. Enter 14 in nactive days threshold to cleanup users who have not logged in in the last 14 days.

Select groups if you want to

cleanup inactive users who are part of specific groups.

While cleaning up users, you also want to make sure that certain users are not cleaned, even if they haven't logged in for a while. Admin accounts should not be cleaned for example, because then you might lose system access. Exceptions can be configured based on group memberships or user directories.

Skjermbilde 2024-08-17 kl. 17.00.12.pngImage Modified

Specify cleanup actions

Decide whether you want to deactivate users or remove access to licensing group. Typically the group jira-software-users grants access to jira software licenses.

If you choose Remove access to groups then users will be removed from the given group. The user cleanup only affects group membership related to the chosen group, and will not remove any other group memberships. This means if the group to be removed from is not the licensing group the user will still be active.

Skjermbilde 2024-08-17 kl. 14.24.46.pngImage Modified

Configure Time

Specify when the schedule should start and which interval to run.

Save the Cleanup schedule when you are happy with the configuration. The job will start at the the time shown in the Next cleanup field.

Skjermbilde 2024-08-17 kl. 14.25.02.pngImage Modified

Test the schedule

If you want to verify that your schedule gives the expected result, perform a dry run.

...

Check when the next scheduled cleanup will

...

run

Table of Content Zone

Open Scheduling and cleanup

To view information about

...

future cleanups, select Scheduling and cleanup. A list of scheduled cleanups with the following information about scheduled cleanups opens:

  • Id

  • Status: Active/Inactive

  • Display name

  • Cleanup Action: DEACTIVATE, REMOVE_FROM_GROUP

...

  • , LIST

...

  • Clean from groups: group names

  • Remove from groups: group names

  • Next cleanup: Date and time for next run

Skjermbilde 2024-08-17 kl. 17.11.26.pngImage Modified

...

Run a manual schedule between schedules

To force a scheduled cleanup to run between schedules, run a manual cleanup,

Select Scheduling and cleanup, open the schedule you want to run, then click the schedule you want to run. Edit schedule opens. Make adjustments if needed and save changes.Scroll to the bottom of the screen, then click the button Run now and the . The cleanup will start.

...

...

Test a cleanup schedule

Skjermbilde 2024-08-17 kl. 15.53.14.png

...

Filter users

How to extract activity reports - info fra dashboard og filtering av brukere på last login date

...