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 vote
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

765 views 2 19
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