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
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

89 views 0 6
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