I am trying to instantiate a project from a template using the API. When called, the new project is created from the template, but the due date is left blank. This happens in my app and the API explorer.
Based on my reading of the API docs, this should create a private project from the template with a project due date of April 1, 2024. The project is created, but the due date is left blank.
As a workaround, I can make a second API PUT call to the projects/<id> endpoint and set the due date that way, but I’d rather use one API call than two.
If you do, you’ll miss the automatic due date mechanism. And also I remember that a template with dates can’t be created without a starting date, it should break…
In your template, do you have the schedule type set to “After project start date” or “Before project due date”? If it’s the former, that would likely explain the issue - you will need to supply a start date in that case.