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

Hi,

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
Accepted answer
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:

&lt;admins&gt;&lt;system-admins&gt;&lt;user&gt;grefosco&lt;/user&gt;&lt;/system-admins&gt;&lt;/admins&gt;

Regards,

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 Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

98 views 3 4
Join discussion

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