Get multiple project from a team, doesn't work "archived" parameter.

I followed the above procedure to test on "try it " ,and execute my own program too.

Even if I set the archived parameter to “archived=false”, it still retrieves archived PJs and I am having trouble with the amount of data is too large.

Hi,
I would suggest that you consider querying projects based on a specific team instead of all projects (it would help reduce the scope of your request).
Also you could look into using Asana’s typeahead feature to retrieve projects

1 Like

Hi @Miyako and @Fario_Consulting,

We have identified this to be a bug and are currently working on a fix for this. See this form comment for more information: It is not possible to get only non-archived projects via API using node-sdk-v1 - #7 by John_Vu

The workaround would be to do client side filter of archived and non-archived projects.

1 Like

Hi, @Fario_Consulting and @John_Vu .
Thank you for your reply.

I’m already tried to querying projects based on a specific team. I apologize for the lack of information I described.
I also understood that this to be a bug and, to be working on a fix for this.

Thank you.

Hi @Miyako,

The fix for this issue has been deployed. The archived query param should work as expected.

2 Likes

@John_Vu

Hi,
I have confirmed that the problem has been resolved.
Thank you for your prompt response.

Awesome, glad to hear it. Thank you for confirming @Miyako : )

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.