Add New Version to Bundle
PUT /admin/customfield/versionBundle/{bundleName}/{versionName}
Add new version to bundle
PUT /rest/admin/customfield/versionBundle/{bundleName}/{versionName}?{description}&{colorIndex}&{releaseDate}&{released}&{archived}
Samples
Sample 1
PUT http://localhost:8081/rest/admin/customfield/versionBundle/Name%20with%20spaces/version3?description=My+description&releaseDate=1234567890000&released=true&archived=true
Cookie: $Version=0; JSESSIONID=aovevd6psvky7i4y0bws8y2q; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/
HTTP/1.1 201 Created
Content-Type: application/xml;charset=UTF-8
Location: https://example.com/youtrack/rest/admin/customfield/versionBundle/Name%20with%20spaces/version3
Content-Length: 0
Server: Jetty(7.2.0.v20101020)
Sample 2
PUT http://localhost:8081/rest/admin/customfield/versionBundle/Name%20with%20spaces/version3?description=My+description&releaseDate=1234567890000&released=true&archived=true
Cookie: $Version=0; JSESSIONID=aovevd6psvky7i4y0bws8y2q; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/
HTTP/1.1 409 Conflict
Content-Type: application/xml;charset=UTF-8
Content-Length: 106
Server: Jetty(7.2.0.v20101020)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><error>Version [ version3 ] already exists.</error>
Last modified: 2 February 2017