YouTrack InCloud 7.0 Help

Add Owned Field to Bundle

PUT /admin/customfield/ownedFieldBundle/{bundleName}/{fieldName}

Add new owned fields to bundle

PUT /rest/admin/customfield/ownedFieldBundle/{bundleName}/{fieldName}?{description}&{colorIndex}&{login}

Parameters:

NameTypeDescription
bundleNamestringName of a bundle, to which the new value (field) should be added.
fieldNamestringName of the field to add.
descriptionstringField description.
colorIndexIntegerSequential number of the color scheme (a pair of background and text colors).
loginstringLogin name of the new field's owner.

Sample

Request

PUT http://localhost:8081/rest/admin/customfield/ownedFieldBundle/New%20bundle%20name/Element%20name?description=element+description&login=root Cookie: $Version=0; JSESSIONID=8dmapdeyqjdkeab2l6yhf4cu; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/

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