YouTrack InCloud 7.0 Help

PUT Enumeration

PUT /admin/customfield/bundle

Create new custom field enumeration bundle

PUT /rest/admin/customfield/bundle

Request parameters:

NameTypeDescription
namestringName of new enumeration. This name should be unique.
value Value, that new enumeration should contain. Each value name should be unique. Following attributes are supported: description - description of value; colorIndex - indicates what style will be applied to this value.

Sample

Request:

PUT /rest/admin/customfield/bundle

Request body:

xml<enumeration name="Browsers"> <value>Firefox</value> <value>IE</value> <value>Chrome</value> </enumeration>

Response:

<enumFieldBundle name="Browsers" url="http://youtrack.jetbrains.net/rest/admin/customfield/bundle/Browsers"/>
Last modified: 29 September 2016