YouTrack Standalone 2017.1 Help

Update a State in a Bundle

POST /admin/customfield/stateBundle/{bundleName}/{stateName}

Update state

POST /rest/admin/customfield/stateBundle/{bundleName}/{stateName}?{newName}&{isResolved}&{description}&{colorIndex}


Name Type Description
bundleName string Name of a bundle, in which a state should be updated.
stateName string Name of a state to update.
newName string New name for the state.
isResolved Boolean Mark the state as 'Resolved'.
description string State description.
colorIndex Integer Sequential number of a color scheme (background color/text color pair) for the state.



POST http://localhost:8081/rest/admin/customfield/stateBundle/States%20Bundle1/Uvalue1?newName=New+State+of+US&isResolved=true&description=I+am+a+new+description Cookie: $Version=0; JSESSIONID=1xubq236wmpbd14yd1mhq4jcrw; $Path=/;; $Path=/


HTTP/1.1 301 Moved Permanently Content-Type: application/xml;charset=UTF-8 Location: Content-Length: 0 Server: Jetty(7.2.0.v20101020)
Last modified: 18 April 2017