YouTrack Standalone 2020.3 Help

Field Types

This resource lets you read the list of supported types of custom fields in YouTrack.

Resource

/api/admin/customFieldSettings/types

Returned entity

FieldType. For the description of the entity attributes, see Supported Fields section.

Supported methods

FieldType attributes

Represents the type of a custom field in YouTrack.

This table describes attributes of the FieldType entity.

  • To receive an attribute in the response from server, specify it explicitly in the request parameter fields.

  • To update an attribute, provide it in the body of a POST request.

Field

Type

Description

id

String

ID of the custom field type. Read-only.

Read a List of FieldTypes

Get all available field types.

Request syntax

GET /api/admin/customFieldSettings/types?{fields}&{$top}&{$skip}

Request parameters

Parameter

Type

Description

fields

String

A list of FieldType attributes that should be returned in the response. If no field is specified,only the entityID is returned

$skip

Int

Optional. Lets you set a number of returned entities to skip before returning the first one.

$top

Int

Optional. Lets you specify the maximum number of entries that are returned in the response.

Sample

Sample request URI

https://example.myjetbrains.com/youtrack/api/admin/customFieldSettings/types?fields=id,presentation,isMultiValue,valueType&$skip=4&$top=3

Sample response body

[ { "isMultiValue": false, "presentation": "integer", "valueType": "integer", "id": "integer", "$type": "FieldType" }, { "isMultiValue": true, "presentation": "enum[*]", "valueType": "enum", "id": "enum[*]", "$type": "FieldType" }, { "isMultiValue": false, "presentation": "enum[1]", "valueType": "enum", "id": "enum[1]", "$type": "FieldType" } ]
Last modified: 28 October 2020