Create user account for an interim period - how to?

Hi All,

we administer a 5000+ users Jira and we have a problem that many of our customer users leave the projects unless they inform us about the leaving. It's a current risk.

So we decided that we will create user accounts only for 2 months and then we revision whether the user is still working in the project or not.

So my question: is it possible to set for a user account an interim period or service which inactivate the user after the period has left. My guess is the user account properties but no clue how to achieve.

Can you please help?

Thanks in advance!

Rumi

2 answers

0 votes
Timothy Chin Community Champion Jun 09, 2013

There is no functionality like this at the momement. The closest that you may get is the cwd_user_attributes table in the database which holds the login.previousLoginMillis value.

Yup, you'll need to script or code for this. An account in Jira stays where it is until explicitly removed, and there's nothing about expiring accounts in there.

My last client had us write a simple service - it ran every day, and exactly as Timothy suggests, looked at last login date/time and disabled the user (removed all roles and groups, updated name and email address) if they were over X days old

I'd figure out some business rule that identifies what it means for a user to be inactive, then script up a cron job that queries the db to get this info, then use something like the API or Bob's CLI to deactivate.

https://bobswift.atlassian.net/wiki/display/ACLI/Atlassian+CLI+license

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

421 views 7 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you