YouTrack Standalone 2017.4 Help

Add User to Users Bundle

PUT /admin/customfield/userBundle/{bundleName}/individual/{userName}

Add new user to custom field users bundle

PUT /rest/admin/customfield/userBundle/{bundleName}/individual/{userName}

Parameters:

Name

Type

Description

bundleName

string

A name of a users bundle to add a user to.

userName

string

Login name of a user to add to the specified users bundle.

Sample

Request

PUT https://example.com/youtrack/rest/admin/customfield/userBundle/My%20Users/individual/beto 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: https://example.com/youtrack/rest/admin/customfield/userBundle/My%20Users Content-Length: 0
Last modified: 7 March 2019