Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Bulk delete users from Crucible Database

I accidentally imported my entire corporate LDAP user database into my Crucible-Fisheye instance, which makes user management extremely difficult.


I want to do a bulk delete of all users who have never actually used the system (less than 150 of the ~10k loaded users have ever actually used the system).  Is the best way to do this via SQL scripts?  I am in the process of creating a local group that contains everyone who has ever registered activity, so I could just delete all users not in that group, but I'm worried about linkages between tables and the best way to do it.


Any suggestions on how to get this done, I'm a SQL novice other than generating simple queries, so all help would be much appreciated. 

1 answer

0 votes

Hi Matt,

Please try to use the Admin Rest API:

To get a list of all users: 

GET /rest-service-fecru/admin/users 

More details:

To get users in the active group:

GET /rest-service-fecru/admin/groups/{active group name}/users

More details:

Then you can delete all users which are not in the {active group name}  with:

DELETE /rest-service-fecru/admin/users/{user name}

More details:

You may want to use the FeCru Admin REST python client when writing the script:


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

188 views 0 5
Join discussion

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