I want to automatically disable the inactive users in application for inactivity period of 3 months.Currently i am extracting the list from DB and manually unchecking the confluence-users group from the users.Need to make it automated. Kindly help without using plugins .
Hi @Krithica G (EXTERNAL)
You may check the threads below, which can help you to achieve this.
https://community.atlassian.com/forums/Jira-questions/Automatically-disable-inactive-users-to-save-licenses/qaq-p/614778https://community.atlassian.com/forums/Jira-questions/Database-query-to-get-all-users-who-haven-t-logged-within-a-year/qaq-p/370478
@Krithica G (EXTERNAL) ,
To add to @Manoj Kumar Gangwar's answer, you can remove a user from a specific group using the REST API, which will save you having to uncheck them from the confluence-users group manually.
ref: https://developer.atlassian.com/server/confluence/rest/v920/api-group-user-group/#api-rest-api-user-username-group-groupname-delete
There are plenty of apps that can help you do this. Unfortunately, apart from the API mentioned in another comment, there’s no easy way to do this within Atlassian tools.
If you are using an app or API to automate this, be very careful as the data isn’t very accurate… as an example, it won’t count a Jira Admin going into the admin settings as having “Used Jira”. So you may be removing user access for active users…
Our App, Admin Automations, is adding this feature soon, but being very careful about how users base their decisions on this incomplete data.
It looks like you're new here. Sign in or register to get started.