YouTrack Standalone 2017.1 Help

PUT Project Custom Field

PUT /admin/project/{projectId}/customfield/{customFieldName}

Add a new custom field to a specific project.

PUT /rest/admin/project/{projectId}/customfield/{customFieldName}?{emptyFieldText}

Parameters:

NameTypeDescription
projectIdprojectByIdNotStrictID of a project to add new field to.
customFieldNamestringName of a custom field to add.
emptyFieldTextstringText to be displayed in a field, if its value is not defined.
......Variables required to create project custom field

Sample

Request:

PUT /rest/admin/project/CMN/customfield/Region?emptyFieldText=<no region>&bundle=RegionEnum

Response:

Empty Response. Response code: 201 Response message: Created
Last modified: 18 April 2017