YouTrack Standalone 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: https://example.com/youtrack/rest/admin/customfield/stateBundle/New%20Name%20with%20spaces Content-Length: 0 Server: Jetty(7.2.0.v20101020)
Last modified: 2 February 2017