Create a task with an existing custom Field

I can verify that there are no custom fields set on that project.

If you’re looking to do this in the API, you can POST a request to /projects/:project_id/addCustomFieldSetting, which will associate the custom field with the project. Then it should be possible to set the value of the custom field on the task as above.