YouTrack Standalone 2019.1 Help

Operations with Specific ProjectCustomField

Resource

/api/admin/projects/customFields/{fieldID}

Returned entity

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

Supported methods

ProjectCustomField attributes

Represents custom field settings for the particular project.

This table describes attributes of the ProjectCustomField 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

field

CustomField

Custom field which project settings are described. Read-only. Can be null.

project

Project

Project to which custom field belongs. Read-only. Can be null.

canBeEmpty

Boolean

If true, this field can have empty value in the issue, otherwise false.

emptyFieldText

String

Text that is shown as a placeholder when field is empty. Can be null.

ordinal

Int

Number of this field in project.

isPublic

Boolean

If true, issue public read/update are sufficient for accessing this field, otherwise private read/update are required.

hasRunningJob

Boolean

true if there is a background job running for this field. In this case some field operations can be temporary unaccessible. Read-only.

Update a Specific ProjectCustomField

Request syntax

UPDATE /api/admin/projects/customFields/{fieldID}?{fields}

Request parameters

Parameter

Type

Description

fields

string

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

Read a Specific ProjectCustomField

Request syntax

GET /api/admin/projects/customFields/{fieldID}?{fields}

Request parameters

Parameter

Type

Description

fields

string

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

Delete a Specific ProjectCustomField

Request syntax

DELETE /api/admin/projects/customFields/{fieldID}

Request parameters

Parameter

Type

Description

Last modified: 12 April 2019