YouTrack InCloud 7.0 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.
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 http://localhost:8081/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: http://unit-258.labs.intellij.net:8080/charisma/rest/admin/customfield/versionBundle/Name%20with%20spaces/New%20version Content-Length: 0 Server: Jetty(7.2.0.v20101020)
Last modified: 29 September 2016