YouTrack Standalone 2017.1 Help

POST Value

POST /admin/customfield/bundle/{bundleName}/{fieldValue}

Update value in custom field enumeration bundle

POST /rest/admin/customfield/bundle/{bundleName}/{fieldValue}?{newValue}&{description}&{colorIndex}

Parameters:

NameTypeDescription
bundleNamestringName of an enumeration bundle.
fieldValuestringCurrently existing field value to be updated.
newValuestringNew field value to update the existing one with.
descriptionstringOptional description of the updated value.
colorIndexIntegerSequential number of the color scheme (background/text colors pair) for the updated value.

Sample

Request:

POST /rest/admin/customfield/bundle/RegionEnum/Berlin?newValue=Berlin City&description=Empty Description&colorIndex=1

Response:

Empty Response. Response Code: 200 Response Message: OK
Last modified: 18 April 2017