YouTrack Standalone 7.0 Help

Get Users Bundle

GET /admin/customfield/userBundle/{bundleName}

Get custom field user bundle by its name

GET /rest/admin/customfield/userBundle/{bundleName}

Parameters:

Name Type Description
bundleName string Name of a user bundle to get from YouTrack.

Sample

Request

GET http://localhost:8081/rest/admin/customfield/userBundle/My%20Users Cookie: $Version=0; JSESSIONID=19eie47i6xtd6l37im4l7uxwc; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/

Response

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 528 Server: Jetty(7.2.0.v20101020) <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <userBundle name="My Users"> <user login="ajordens" url="http://unit-258.labs.intellij.net:8080/charisma/rest/admin/user/ajordens"/> <user login="beto" url="http://unit-258.labs.intellij.net:8080/charisma/rest/admin/user/beto"/> <userGroup name="idea-developers" url="http://unit-258.labs.intellij.net:8080/charisma/rest/admin/group/idea-developers"/> <userGroup name="jira-users" url="http://unit-258.labs.intellij.net:8080/charisma/rest/admin/group/jira-users"/> </userBundle>
Last modified: 29 September 2016