YouTrack Standalone 2017.3 Help

PUT Enumeration

PUT /admin/customfield/bundle

Create new custom field enumeration bundle

PUT /rest/admin/customfield/bundle

Request parameters:

Name

Type

Description

name

string

Name of the new enumeration. This name must be unique.

value

 

A value that the new enumeration should contain. Each value name must be unique. The following attributes are supported:
  • description - description of the value.

  • colorIndex - defines style parameters to be applied to the value. See the list of available Color Indices List

Sample

Request:

PUT /rest/admin/customfield/bundle

Request body:

<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: 7 March 2019