Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I want to list and deactivate jira users through scripts(automatically using any language or api )

I want to list and deactivate Jira users through scripts(automatically using any language or API ) I will be getting a list of users from another team I want to delete users, I am using 8.13.3 can any one help me on this

2 answers

0 votes
Ravi Sagar Community Leader May 17, 2021

Hi @Bala Sharan Kumar 

You can do that with ScriptRunner for Jira for doing that. You can check script library, especially this script here: https://library.adaptavist.com/entity/deactivate-idle-users-after-a-custom-period

Let us say you have a list of users in csv then you can modify this code to parse the csv and deactivate them.

I hope it helps.

Ravi

Hi @Ravi Sagar 

I want to just deactivate users that's it and can you help me how to execute this script.

Hello @Bala Sharan Kumar 

If you are looking for plugin which can fulfill your requirements, I would like to suggest you User Management Plugin which can automatically deactivate users by last login time or you can bulk select the users and deactivate them

If you are getting list in CSV format then we can import those users using CSV and deactivate them.

Your problem can be resolved very easily if you go with the plugin!
Feel free to reach out to us at atlassiansupport@xecurify.com or you can raise the ticket in case you need any help!

PS: I work with the miniOrange organisation, which is also one of the top SSO Vendors!

Cheers,

Mahima

 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you