YouTrack Standalone 2017.1 Help

PUT Prototype

PUT /admin/customfield/field/{customFieldName}

Create new custom field prototype

PUT /rest/admin/customfield/field/{customFieldName}?{typeName}&{isPrivate}&{defaultVisibility}&{autoAttached}

Parameters:

Name Type Description
customFieldName string Name for a custom field to be created.
typeName string Type of a new custom field.
isPrivate boolean Set new custom field privacy.
defaultVisibility boolean Set default visibility for the new custom field.
autoAttached boolean The custom field should be attached automatically to each newly created project in YouTrack.

Sample

Request:

PUT /rest/admin/customfield/field/Region?typeName=enum[*]&isPrivate=false&defaultVisibility=true&autoAttached=false

Response:

xml<customFieldPrototypeRef name="Region" url="http://youtrack.jetbrains.net/rest/admin/customfield/field/Region"/>
Last modified: 18 April 2017