Unable to update project blueprint-created tasks
The background here is that we have a project blueprint which creates a bunch of sub-tasks.
By using the titlePrefix to attach a common denominator to the titles of all of the sub-tasks I have been able to find them with an ediscovery search, scope "task". So far so good.
But when I try to update any of these tasks (PUT /tasks/{taskid}), the API tells me:
{
"error": "invalid_request",
"errorDescription": "Invalid Task ID"
}
The kicker is that if I use the fetch method for tasks, it works just fine with the same id (GET /tasks/{taskid}).
I compared one of these tasks to a "normal" task (one generated directly from the API, not through a blueprint trigger) and saw no differences in scope etc. It's possible these tasks are some kind of custom item type, but as far as I'm aware those should still work pretty much the same - or?
Please advise, this is very frustrating as I thought I was so close to finally cracking being able to find and update everything that a blueprint had generated.
Hi Daniel Joelsson, thank you for sharing this question with us. I've created a ticket with our Support Team so that one of our experts can provide you with an accurate reply 👍 You will be contacted shortly.
Hello. Was there any solution here? We're about to start a project to generate tasks from a task blueprint (not project blueprint) via the API. Just curious if I'll run into something similar.
Hi Kevin,
It was (fortunately, since it means the API works as it should) user error - my script wasn't putting a ? at the start of the arguments in the URL, it was putting an & (as in what you use to join multiple arguments). Sometimes it's the simple things :)
Thanks Daniel, I appreciate the response. We've all been there.
I am facing this problem too.
Some fix?
Hi William de Andrade Ramos da Silva, thank you for bringing this to our attention. I've created a ticket with our Support Team on your behalf, one of our experts will reach out to you via email shortly 👍