YouTrack InCloud 7.0 Help

Update State Bundle

POST /admin/customfield/stateBundle/{bundleName}

Update state bundle.

POST /rest/admin/customfield/stateBundle/{bundleName}?{newName}

Parameters:

Name Type Description
bundleName string Name of a bundle to update.
newName string New name for the bundle.

Sample

Request

POST http://localhost:8081/rest/admin/customfield/stateBundle/States%20Bundle1?newName=New+Name+with+spaces Cookie: $Version=0; JSESSIONID=1xubq236wmpbd14yd1mhq4jcrw; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/

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/stateBundle/New%20Name%20with%20spaces Content-Length: 0 Server: Jetty(7.2.0.v20101020)
Last modified: 29 September 2016