YouTrack Standalone 7.0 Help

Update a Build in a Bundle

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

Update build

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

Parameters:

Name Type Description
bundleName string Name of a bundle, in which a build should be updated.
buildName string Name of a build to update.
newName string New name for the 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 build.

Sample

Request

POST http://localhost:8081/rest/admin/customfield/buildBundle/Name%20with%20spaces/build3 Cookie: $Version=0; JSESSIONID=upm6hixpu7bjr6z4nmvhdrl; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/ assembleDate=98765111123423&newName=New build name

Response

HTTP/1.1 301 Moved Permanently Content-Type: application/xml;charset=UTF-8 Location: https://example.com/youtrack/rest/admin/customfield/buildBundle/Name%20with%20spaces/New%20build%20name Content-Length: 0 Server: Jetty(7.2.0.v20101020)
Last modified: 2 February 2017