Setting task start date equal to project start date
Is it possible to set the start date of the earliest task equal to the project start date? We are creating projects in Wrike via API using an external data source. The blueprints are being called into the project and as we understand, these blueprints require dates because we are setting dependencies across the tasks when creating them.
So, the developer is setting the project start date equal to the creation date plus one business day. Is it also possible to then set the earliest task equal to the project start date? This is how the Wrike request forms can handle it and we want to mimic that functionality.
Hey Gretchen Linder, I can see you've discussed this with my colleague from the Support team 👍
Please let us know if you have any more questions 🙌
Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover
Lisa Wrike Team member Become a Wrike expert with Wrike Discover
Lisa Yes, thank you our developer figured it out.
What was the solution we are trying to create that behavior as well
Samuel Humpherys I did not write the code, but I can relay the theory behind the solution. We utilize blueprints, which, as you likely know, require dates to be entered in the tasks if there are dependencies. The developer sets the project start date in one call. The second call is to look for the task with the earliest date (aka the first task in the list) and set that to the project start date +1 day (or same day, depending on the requirements). I hope this helps in your exploration. -g.
Gretchen Linder Thank you very much that is a great starting place for me!