YouTrack Standalone 2017.2 Help

POST Prototype

POST /admin/customfield/field/{customFieldName}

Update a custom field prototype.

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

Parameters:

Name

Type

Description

customFieldName

string

Custom field prototype name.

newName

string

New name to replace the current one.

isPrivate

boolean

Mark as Private field.

defaultVisibility

boolean

Set default visibility.

autoAttached

boolean

The 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: 7 March 2019