Tilt Posted March 10, 2017 Report Share Posted March 10, 2017 I want to move all the timelogs from one task to another task in another project because I want to recreate a project with a dedicated project schema. If I could just change the schema using the new python API that would be great but I think that's not possible so I just created a new project and created new tasks in the browser. But now I want to move timelogs to the new tasks so I can remove the old project from ftrack. My first thought was to just get a timelog from the old task, then append it to the new task's timelogs. But since a TimeLog references a specific context_id I don't know if that's wise or even supported. I wanted to ask how to do it before I do something that might mess with the database in unintended ways: for timelog in old_task["timelogs"]: new_task["timelogs"].append(timelog) Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.