Expand my Community achievements bar.

API call for recalculating timelines across MULTIPLE project

Avatar

Level 8
Hello, Does anyone know the API call for recalculating timelines across more than one project? Looking to make the system take the same action that happens when select multiple projects, edit, and get the checkbox to Recalculate timelines on all them: I know you can use a PUT command to HTML set up like this: https://streamco.my.workfront.com/ attask / api /project/{Insert Project ID HERE}?action=calculateTimeline to have a single project recalculate its timeline. But I couldn't figure out how to do it for multiple projects in a single API call like how you can within the Workfront system. Thanks! Matt May Stream Companies
2 Replies

Avatar

Level 2
Hi Matt, I just checked, and we do not offer an API endpoint for submitting multiple object timeline calculations via our API. The current endpoint ( calculateTimeline) is coded to only accept single IDs, and there was nothing I could find in the backend to get around this limitation. While I wish I had better news, hopefully, it is easily worked around with a for-loop of sorts from your end. Thank you, Haven Meyer QA Manager @ Workfront

Avatar

Level 10
Hi Matt, I invite you to consider our Recalc Helper solution (https://www.atappstore.com/App/recalc-items/Default.aspx), which allows you select any Workfront Project Filter you create and then recalculate the Timelines (or finances, or custom data, etc). For more information, we also have a blog post and video at http://store.atappstore.com/2015/04/recalc-helper/ Regards, Doug