Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to mark users inactive after a certain amount of time of not logging in

Steven Lees-Smith
Contributor
October 15, 2020

Hi there,

Access to Jira is controlled by Active Directory groups, but what we are finding is infrequent users are consuming licenses.  There may be a need for them to use Jira down the line so I don't want to keep pulling people from AD groups.

Is there a way in Jira that if a person hasn't logged in for 3 months we can change the state of their account in Jira to be not active, thus not consuming a license in the pool.

When they log in again, it would change their status and then they will again be counted as a licensed user of Jira?

Thank you.

1 answer

1 vote
Carlos Garcia Navarro
Community Champion
October 15, 2020

Hi @Steven Lees-Smith , This is a very interesting request but I believe it's not possible today. There is an Atlassian ticket to detect the last time that a user logged in:

https://jira.atlassian.com/browse/ID-6965

, and another to be able to deactivate the user using an API call:

https://jira.atlassian.com/browse/JRACLOUD-44801

Both are "old" tickets but they're still open and in the 'gathering interest' status. I suggest to vote for them.

As a workaround you could create an Atlassian support ticket (https://support.atlassian.com/contact/#/) and ask them for a list of users in your instance who didn't logged in in 'x' months (e.g.), and then you could deactivate them manually.

Steven Lees-Smith
Contributor
October 15, 2020

Thanks I will go in and look at the links and vote on them.

My current line of thinking is to import the last login date into Cherwell and then have an automation process run in there that when last login is older than 3 months run a powershell script to remove the user from the relevant AD group.

Leveraging the same group removal and disable process I built for the off boarding within Cherwell.

Just need to look at now automating a dump of the user information to pull in the login date.

Like Carlos Garcia Navarro likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events