querying tasks with a certain customfield value
Hi,
I'm wanting to query tasks that have a certain customfield with a certain value. Based on the documentation I'd expect this to work:
curl -g -X GET -H 'Authorization: bearer [redacted]' 'https://www.wrike.com/api/v3/tasks?customField={"id":"IEAAWVOMJUAAH43R","value": "NIC Plugin"}'
But instead I get a 400.
<html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>
What is wrong?
Cheers
jamie
Hi Jamie! Seems like your post has fallen through the cracks and I missed to reply in time, sorry for that. Are you still having the issue?
Hi Jamie,
actually, I was stuck a moment ago, while by your script in my scenario, it can work :) So I guess it might be a temp problem when you tested. Maybe it has worked for you now. Anyway, Thank you much!
https://www.wrike.com/api/v3/folders/{{wrike_folder_id}}/tasks?customField={"id":"XXXXX","value":"YYYY"}
btw, when i dig into Wrike API, I found this post. it looks Pavel simply said the post was missed to check, but did not even share any comments on what Jamie described. It is disappointed he might not have tried something with the script. IF the script were not working at my side, how a customer can know if the script is correct or not?