Fisheye/Crucible: Is it possible to see if a user is admin via the REST API


Is it possible to use the REST api to see if a user is registred as admin in Fisheye/Crucible ?

This one doesn't show: rest-service-fecru/admin/users/<user>

    "name": "&lt;user&gt;",
    "displayName": "&lt;name&gt;",
    "email": "&lt;email&gt;",
    "type": "LDAP",
    "crucible": true

2 answers

1 accepted

1 vote
Lukasz Pater Atlassian Team Feb 22, 2016

Hi Claus,

This is not available currently in the REST api. There's a feature request for this in our issue tracker. Please watch that for updates.

Hi Claus,

The REST API in fact doesn't show if the user is admin or not, but you should be able to retrieve this information directly from your config.xml file under the FISHEYE_INST directory. When a user is set as administrator, it's added to a list within this file, shown as follows:



Gustavo Refosco

Thanks Gustavo,

I know that this info is present in the config.xml file on our linux box, which we can't fetch programmatically....

It would be nice to have this feature via the REST API - of course only information available via the API to admin roles smile

Kind regards

Claus Nielsen

Suggest an answer

Log in or Join to answer
Community showcase
Davin Studer
Published Thursday in Confluence

FUME – A Better Confluence User Macro Editor Experience

...\\.title', editorDiv: 'userMacroEditorDiv', isNew: function(){ return AJS.$('#user-macro-form').prop('name') == 'addusermacro' ? true : false; }, editor: null, isDirty...

42 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot