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.

1
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
4 comments

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.

Juan Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Juan Wrike Team member Become a Wrike expert with Wrike Discover

1
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

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. 

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

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 :)

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Thanks Daniel, I appreciate the response. We've all been there.

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Folllowing List for Post: Unable to update project blueprint-created tasks
[this list is visible for admins and agents only]

Top
Didn’t find what you were looking for? Write new post