YouTrack Standalone 2017.4 Help

Get All State Bundles

GET /admin/customfield/stateBundle

Get all available bundles of states.

GET /rest/admin/customfield/stateBundle

Samples

Sample 1

Request

GET https://example.com/youtrack/rest/admin/customfield/stateBundle Cookie: $Version=0; JSESSIONID=1xubq236wmpbd14yd1mhq4jcrw; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/

Response

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 372 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <stateBundleRefs> <stateBundle name="States" url="https://example.com/youtrack/rest/admin/customfield/stateBundle/States"/> <stateBundle name="New Name with spaces" url="https://example.com/youtrack/rest/admin/customfield/stateBundle/New%20Name%20with%20spaces"/> </stateBundleRefs>

Sample 2

Request

GET https://example.com/youtrack/rest/admin/customfield/stateBundle Cookie: $Version=0; JSESSIONID=1xubq236wmpbd14yd1mhq4jcrw; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/

Response

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 514 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <stateBundleRefs> <stateBundle name="States" url="https://example.com/youtrack/rest/admin/customfield/stateBundle/States"/> <stateBundle name="New Name with spaces" url="https://example.com/youtrack/rest/admin/customfield/stateBundle/New%20Name%20with%20spaces"/> <stateBundle name="States Bundle1" url="https://example.com/youtrack/rest/admin/customfield/stateBundle/States%20Bundle1"/> </stateBundleRefs>
Last modified: 7 March 2019