Users Removed When Synchronizing With JIRA/Crowd
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Problem
Fisheye/Crucible is connected to JIRA/Crowd for user authentication and users are created automatically when logging in if "Auto-add" is enabled. However, when synchronising, the JIRA/Crowd users are removed and the following can be seen in the logs:
1
2
3
4
5
2013-03-19 13:39:14,148 INFO [quartzScheduler_Worker-9 ] fisheye UserSynchroniserJob-execute - Starting resynchronising users
2013-03-19 13:39:14,304 INFO [quartzScheduler_Worker-9 ] fisheye DefaultUserManager-synchroniseUsers - resynchronising users with crowd
2013-03-19 13:39:15,085 INFO [quartzScheduler_Worker-9 ] fisheye DefaultUserManager$24-doInTransaction - 'admin' has been deactivated in FishEye.
2013-03-19 13:39:15,335 INFO [quartzScheduler_Worker-9 ] fisheye DefaultUserManager$24-doInTransaction - 'user1' has been deactivated in FishEye.
2013-03-19 13:39:15,710 INFO [quartzScheduler_Worker-9 ] fisheye DefaultUserManager$24-doInTransaction - 'user2' has been deactivated in FishEye.
Diagnosis
The following REST API call (for Crowd only) checks if the user belongs to the groups set in the configuration:
1
http://crowd.server.url/rest/usermanagement/latest/group/user/direct?groupname=GROUPNAME
Logging in with the "Application Name" and "Password" set in the configuration for REST API will be required.
Cause
The JIRA/Crowd users are not members of the groups configured to be synchronised.
Solution
Resolution
There are two possible resolutions:
Add the missing groups to be synchronised with Fisheye/Crucible under
Administration > Security Settings > Authentication > JIRA/Crowd Authentication
.Add the missing users to the groups already being synchronised.
Was this helpful?