YouTrack Standalone 2017.1 Help

Add New Build to a Bundle

PUT /admin/customfield/buildBundle/{bundleName}/{buildName}

Add new build to bundle

PUT /rest/admin/customfield/buildBundle/{bundleName}/{buildName}?{description}&{colorIndex}&{assembleDate}

Parameters:

Name Type Description
bundleName string Name of a bundle to add a new build.
buildName string Name of a new build.
description string Build's description.
colorIndex Integer Sequential number of a color scheme (background color/text color pair) for the build.
assembleDate instant Assemble date for the new build.

Sample

Request

PUT http://localhost:8081/rest/admin/customfield/buildBundle/New%20Name%20with%20spaces/build3?assembleDate=-111222333 Cookie: $Version=0; JSESSIONID=upm6hixpu7bjr6z4nmvhdrl; $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/buildBundle/New%20Name%20with%20spaces/build3 Content-Length: 0 Server: Jetty(7.2.0.v20101020)
Last modified: 18 April 2017