GET Roles
GET /admin/role
Get all roles available on the YouTrack server.
GET /rest/admin/role
Sample
Request
GET https://example.com/youtrack/rest/admin/role
Cookie: $Version=0; JSESSIONID=vr190avr41j1jh2faa4gigh2; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/
Response
HTTP/1.1 200 OK
Content-Type: application/xml;charset=UTF-8
Content-Length: 1678
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<roleRefs>
<role name="Admin" url="https://example.com/youtrack/rest/admin/role/Admin"/>
<role name="Observer" url="https://example.com/youtrack/rest/admin/role/Observer"/>
<role name="Reporter" url="https://example.com/youtrack/rest/admin/role/Reporter"/>
<role name="Developer" url="https://example.com/youtrack/rest/admin/role/Developer"/>
<role name="jira-administrators_GRVY" url="https://example.com/youtrack/rest/admin/role/jira-administrators_GRVY"/>
<role name="Anyone_GRVY" url="https://example.com/youtrack/rest/admin/role/Anyone_GRVY"/>
<role name="idea-developers_GRVY" url="https://example.com/youtrack/rest/admin/role/idea-developers_GRVY"/>
<role name="scala-developers_GRVY" url="https://example.com/youtrack/rest/admin/role/scala-developers_GRVY"/>
<role name="idea-admins_GRVY" url="https://example.com/youtrack/rest/admin/role/idea-admins_GRVY"/>
<role name="jira-administrators_HBR" url="https://example.com/youtrack/rest/admin/role/jira-administrators_HBR"/>
<role name="Anyone_HBR" url="https://example.com/youtrack/rest/admin/role/Anyone_HBR"/>
<role name="jira-users_HBR" url="https://example.com/youtrack/rest/admin/role/jira-users_HBR"/>
<role name="idea-developers_HBR" url="https://example.com/youtrack/rest/admin/role/idea-developers_HBR"/>
<role name="idea-qa_HBR" url="https://example.com/youtrack/rest/admin/role/idea-qa_HBR"/>
</roleRefs>
Last modified: 7 March 2019