YouTrack Standalone 7.0 Help

POST Prototype

POST /admin/customfield/field/{customFieldName}

Update a custom field prototype.

POST /rest/admin/customfield/field/{customFieldName}?{newName}&{isPrivate}&{defaultVisibility}&{autoAttached}

Parameters:

NameTypeDescription
customFieldNamestringCustom field prototype name.
newNamestringNew name to replace the current one.
isPrivatebooleanMark as Private field.
defaultVisibilitybooleanSet default visibility.
autoAttachedbooleanThe custom field should be attached automatically to each newly created project in YouTrack.

Sample

Request:

POST /rest/admin/customfield/field/Region?newName=Area&isPrivate=true&defaultVisibility=false&autoAttached=false

Response:

<customFieldPrototypeRef name="Region" url="http://youtrack.jetbrains.net/rest/admin/customfield/field/Region"/>
Last modified: 29 September 2016