j.munk
1
Hi there!
Issue: We get authentication errors when accessing /tasks API with any parameter.
What we want to achieve:
We want to find tasks in all projects containing a specific ID in a custom field using filterBy.
What we tried:
-
We could not find a setting to control the rights for the tasks endpoint.
-
We tried the search endpoint, but sadly search does not seem to look into custom fields.
Could you make the /tasks endpoint work as described in the docs?
See: Filtering | awork API | Documentation => example for tasks.
Thank you in advance!
Nils
2
Hi @j.munk ,
Returns all tasks the current user is allowed to see. | awork API | Documentation please use this endpoint. api/v1/tasks is not a public endpoint but the me/allavailable tasks returns all tasks the api user has access to.
j.munk
3
allavailabletasks works, thank you. Our final filterby expression:
customFields/any(c: c/customFieldDefinitionId eq guid’[GUID]’ and substringof(‚[value]‘,c/textValue))
But you should remove the /tasks example from the filtering documentation.
Nils
4
ah good catch, i will fix that. Thank you!