How to get an owner name while sending a GET Projects request.

Hi Everyone,

Is there a way I can get owner name of all projects. I am using https://app.asana.com/api/1.0/projects?opt_fields=current_status,name,owner

Result includes - “owner”: {
“gid”: “12XXXXXXXXXX09”,
“resource_type”: “user”
}
while using https://app.asana.com/api/1.0/projects?12XXXXXXXXXX09
Result includes - “owner”: {
“gid”: “12XXXXXXXXXX09”,
“name”:“ABC”,
“resource_type”: “user”
}
Is there a way to get owner name for all projects at once ?
Thanks!

Try this:
https://app.asana.com/api/1.0/projects?opt_fields=current_status,name,owner.name

3 Likes

Thank you @Frederic_Malenfant, this worked !

2 Likes