YouTrack Standalone 2017.4 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. See the list of available Color Indices List

Sample

Request:

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

Response:

Empty Response. Response Code: 200 Response Message: OK
Last modified: 20 November 2017