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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

106 views 0 5
Read article

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