AurelyenD Posted February 27, 2018 Report Share Posted February 27, 2018 Hi, I'm searching a way to update Task status when launching a particular action. (the Action launches After Effects, and I want the task's status to be updated from Not Started to In Progress) I tried : task.setStatus("In Progress") >>>> AttributeError: 'Task' object has no attribute 'setStatus' I tried : task['status']['name'] = "In Progress" => it changes the name of the status in the UI. And I have to go to the system settings / statuses to revert this. I understand I change the display name of the status object itself, and not the status / state of the task. I tried : status = session.query('Status').all() my_task['status'] = status session.commit() I wanted to set the status attribute with a Status Object, but... >>>> ftrack_api.exception.ServerError: Server reported error: PermissionError(Permission denied: not allowed to 'update' 'StatusType'. Operation 'update' can never be done on 'StatusType'.) I'm sure (actually I hope...) I'm missing something trivial... Any help appreciated ^^ Thanks. Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.