YouTrack InCloud 7.0 Help

Create Owned Field Bundle

PUT /admin/customfield/ownedFieldBundle

Create new owned field bundle

PUT /rest/admin/customfield/ownedFieldBundle

Request parameters:

Name Type Description
name Name of new bundle. It should be unique.

value

Value, that new bundle should contain. Each value should be unique. Foe more information about value tag attributes see Get Owned Field

Sample

Request

PUT http://localhost:8081/rest/admin/customfield/ownedFieldBundle Cookie: $Version=0; JSESSIONID=8dmapdeyqjdkeab2l6yhf4cu; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ownedFieldBundle name="Bundle name"> <ownedField owner="beto" description="first subsystem">first</ownedField> <ownedField owner="root" description="second subsystem">second</ownedField> <ownedField owner="beto" description="third subsystem">third</ownedField> </ownedFieldBundle>

Response

HTTP/1.1 201 Created Content-Type: application/xml;charset=UTF-8 Location: http://unit-258.labs.intellij.net:8080/charisma/rest/admin/customfield/ownedFieldBundle/Bundle%20name Content-Length: 0 Server: Jetty(7.2.0.v20101020)
Last modified: 29 September 2016