YouTrack Standalone 7.0 Help

Add User Group to Users Bundle

PUT /admin/customfield/userBundle/{bundleName}/group/{groupName}

Add a user group to custom field users bundle.

PUT /rest/admin/customfield/userBundle/{bundleName}/group/{groupName}

Parameters:

Name Type Description
bundleName string Name of a users bundle, to which a user group should be added.
groupName string Name of user group to be added to the users bundle.

Sample

Request

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

Response

HTTP/1.1 201 Created Content-Type: application/xml;charset=UTF-8 Location: http://unit-258.labs.intellij.net:8080/charisma/rest/admin/customfield/userBundle/My%20Users Content-Length: 0 Server: Jetty(7.2.0.v20101020)
Last modified: 29 September 2016