YouTrack Standalone 7.0 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: 2 February 2017