YouTrack Standalone 2017.2 Help

Update a Version in a Bundle

POST /admin/customfield/versionBundle/{bundleName}/{versionName}

Update version

POST /rest/admin/customfield/versionBundle/{bundleName}/{versionName}?{newName}&{description}&{colorIndex}&{releaseDate}&{released}&{archived}

Parameters:

Name

Type

Description

bundleName

string

Name of a bundle, in which a version should be updated.

buildName

string

Name of a version to update.

newName

string

New name for the version.

description

string

Version description.

colorIndex

Integer

Sequential number of a color scheme (background color/text color pair) for the version. See the list of available Color Indices List.

releaseDate

instant

Date of a release for the version.

released

boolean

Mark the version as released.

archived

boolean

Mark the version as archived.

Sample

Request

POST https://example.com/youtrack/rest/admin/customfield/versionBundle/Name%20with%20spaces/version2 Cookie: $Version=0; JSESSIONID=aovevd6psvky7i4y0bws8y2q; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/ newName=New version&description=New description&releaseDate=234567890&released=true&archived=false

Response

HTTP/1.1 301 Moved Permanently Content-Type: application/xml;charset=UTF-8 Location: https://example.com/youtrack/rest/admin/customfield/versionBundle/Name%20with%20spaces/New%20version Content-Length: 0
Last modified: 7 March 2019