Tilt Posted November 9, 2016 Report Posted November 9, 2016 Is there a replacement for project.createManager() in the new API?
Mattias Lagergren Posted November 10, 2016 Report 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
Tim Edelmann Posted January 8, 2018 Report Posted January 8, 2018 bump! anything new on this one? I would like to add managers via the new api see: my post
Mattias Lagergren Posted January 11, 2018 Report Posted January 11, 2018 Nothing new I'm afraid, I will re-raise the question with the team.
peter divers Posted September 7, 2018 Report Posted September 7, 2018 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
peter divers Posted September 7, 2018 Report Posted September 7, 2018 Ive posted a topic on this but just found this one, so I guess bumping this back up again
Mattias Lagergren Posted September 11, 2018 Report 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.
Jana Mizikova Posted September 18, 2018 Report 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
Martin Pengelly-Phillips Posted October 23, 2018 Report 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.