Tilt 15 Report post Posted November 9, 2016 Is there a replacement for project.createManager() in the new API? Share this post Link to post Share on other sites
Mattias Lagergren 145 Report post Posted November 10, 2016 19 hours ago, Tilt said: Is there a replacement for project.createManager() in the new API? I'm afraid that we do not yet support managers in the new ftrack-python-api. I will raise this with the team and see what the status is Share this post Link to post Share on other sites
Tim Edelmann 1 Report post Posted January 8, 2018 bump! anything new on this one? I would like to add managers via the new api see: my post Share this post Link to post Share on other sites
Mattias Lagergren 145 Report post Posted January 11, 2018 Nothing new I'm afraid, I will re-raise the question with the team. 1 Tim Edelmann reacted to this Share this post Link to post Share on other sites
peter divers 0 Report post Posted September 7, 2018 (edited) Im trying to find where I can return a list of the managers of a project from it seemed easy in the old api of using project.getManager(), but in the new version im having issues ive tried scanning through at both a task and project level to no success any help would be greatly appreciated. cheers Edited September 11, 2018 by Mattias Lagergren Moderator: Merged topics Share this post Link to post Share on other sites
peter divers 0 Report post Posted September 7, 2018 Ive posted a topic on this but just found this one, so I guess bumping this back up again Share this post Link to post Share on other sites
Mattias Lagergren 145 Report post Posted September 11, 2018 Hi Peter, we have not yet implemented support for manager in the API and it is currently not on the roadmap. Share this post Link to post Share on other sites
Jana Mizikova 0 Report post Posted September 18, 2018 On 9/7/2018 at 4:59 AM, peter divers said: Im trying to find where I can return a list of the managers of a project from it seemed easy in the old api of using project.getManager(), but in the new version im having issues ive tried scanning through at both a task and project level to no success any help would be greatly appreciated. cheers Hey, I was trying to find a similar solution and I came up with a workaround. I am listing users that create calendar events in the overview for the project that in my case are the managers. Try this: def get_managers(session, project_name): events = session.query('Project where full_name is "{}"'.format(project_name)).one()['calendar_events'] managers_list = sorted(set([x['created_by']['username'] for x in events])) return managers_list Share this post Link to post Share on other sites
Martin Pengelly-Phillips 29 Report post Posted October 23, 2018 We also need to be able to manage managers for a project via the API. (Or have some other way to add folks to a project so that they get notifications without being assigned a task). This is critical for us as a larger studio. Share this post Link to post Share on other sites