How-to fetch the list of admin users in Fisheye/Crucible

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

Comparing to other Atlassian products Fisheye and Crucible doesn't have administrator group set up via the user management. In order to fetch users with admin permissions you need use the approach described below.

Environment

Any supported version of Fisheye or Crucible.

Solution

Since Fisheye and Crucible have the admin privileges configured via config.xml, you can fetch the users and groups from there.

  1. Open $FISHEYE_HOME/config.xml

  2. Find the following tags: <admins><system-admins></system-admins></admins>

  3. You can get the users directly, they are mentioned between tags

    <user></user>

  4. For the user who have admin permissions via the group membership you can do the following:

    1. Take the list of groups from config.xml, between the tags:

      <group></group>

    2. Execute REST API call to the endpoint for each group:/rest-service-fecru/admin/groups/{name}/users

    3. In the REST query above replace "name" for each group with the names you got from a previous step to get the user list.

Updated on March 14, 2025

Still need help?

The Atlassian Community is here for you.