I am finishing up my python script (using appscript) to import all our project/clients/todos/time entries from basecamp and am having trouble figuring out how to set the start/end date of a task and have it stick.
Right now i am setting the project start date to the earliest existing Todo from my basecamp export, then i am setting the start/end date of each task as I create them.
Here is what I am doing (summarized and in appscript parlance):
When I run this all my tasks are lined up at the project start with start and end like:
start:
Actual: T day 8:00 AM
Baseline: T+494w 1d 12:00 AM
I am still hunting for any examples on creating existing tasks with actual start/stop dates, but any help would be greatly appreciated.
Hopefully if I can get this ironed out i will post my scripts so others can utilize them.
Right now i am setting the project start date to the earliest existing Todo from my basecamp export, then i am setting the start/end date of each task as I create them.
Here is what I am doing (summarized and in appscript parlance):
Code:
doc=app("OmniPlan").make(new=k.document) doc.project.starting_date=earliest_date for todo in todos: d={k.name:todo.name, k.start_date:todo.start_date, k.end_date:todo.end_date} doc.make(new=k.task,with_properties=d)
start:
Actual: T day 8:00 AM
Baseline: T+494w 1d 12:00 AM
I am still hunting for any examples on creating existing tasks with actual start/stop dates, but any help would be greatly appreciated.
Hopefully if I can get this ironed out i will post my scripts so others can utilize them.