The required properties depend on the type of the custom field. Only task templates which are linked to a project template are allowed to have custom fields set.
project-manage-config:write
permissions.The id of the task template to set the custom fields for.
The custom field definition id.
The user id. The user id can be set for custom field type ‘user’.
The number value. The number value can be set for custom field type ‘number’.
The selection option id value. The id can be set for custom field types ‘select’ and ‘coloredSelect’.
The text value. The text value can be set for custom field types ‘text’ and ‘link’.
The date value. The date value can be set for custom field types ‘date’ and ‘datetime’.
The boolean value. The boolean value can be set for custom field type ‘boolean’.