Tim Edelmann Posted February 19, 2018 Report Share Posted February 19, 2018 Hey there, and our journey continues.. during the setup of a project, we want the api to automatically create milestones which have the desired assignees and status. We found out how to create milestones and set assignees, by looking at the properties, that get set, when creating a milestone via the web-interface. But with the status, this approach doesn't work for us.. Does a status-object need a state-object to be set? And for connecting it to a milestone, do we need to add the milestone as a task to its tasks-list? Or is there a simpler way to set a status for a milestone? thanks alot in advance Tim Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted February 20, 2018 Report Share Posted February 20, 2018 Hi Tim, Setting a status on a milestone should be fairly straight forward. Given a milestone and a status: milestone['status_id'] = status['id'] session.commit() Link to comment Share on other sites More sharing options...
Tim Edelmann Posted February 27, 2018 Author Report Share Posted February 27, 2018 thanks alot -> works Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.