I am trying to fetch the tasks using API for my team members from a project which has custom fields. I am able to fetch the normal fields using the “opt_fields” in search API.
For example, I am executing this Curl statement:
curl -X GET -H 'Accept: application/json' -H 'Authorization: Bearer xxxx' 'https://app.asana.com/api/1.0/workspaces/xxxxx/tasks/search?opt_fields=name,completed,due_on&assignee.any=username&due_on.before=2020-08-29&due_on.after=2020-08-23'
And, if I run this, I will get three field values - name completed or not and due date without any issue.
But how do I get the custom fields value in output JSON along with the standard field values?