Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In client.projects.getTaskCountsForProject the optional fields can't be set with the option() function #121

Open
RonaldFindling opened this issue Jan 11, 2021 · 2 comments

Comments

@RonaldFindling
Copy link

As discussed here the option setting doesn't add the fields to the result.

In short client.projects.getTaskCountsForProject(projectId).option("fields", "num_tasks").execute() should return a json that contains num_tasks -> but it always returns an empty json result.

Documentation etc. are referenced in the linked forum post.

@WinnetouL
Copy link

Hey there,
I think I am facing the same issue:
client.tasks.getTasksForProject("<number>").option("fields", "notes").execute() gives me nothing back for notes

@RonaldFindling
Copy link
Author

FYI: It seems the kotlin library has the same issue -> see https://forum.asana.com/t/how-to-use-the-task-count-endpoint-for-projects-in-the-java-client-library/99471/10?u=ronald_findling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants