YouTrack Standalone 2017.2 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. See the list of available Color Indices List.

assembleDate

instant

Assemble date for the build.

Sample

Request

POST https://example.com/youtrack/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
Last modified: 7 March 2019