Get tasks from multiple projects

I have a list of projects and am trying to get all their tasks. It is returning only a list of numbers. Do you know what the issue is? The code works when not in the loop

task_list = {}
for i in range(len(project_list)):
task_list[i] = client.tasks.get_tasks_for_project(project_ba_list[i], {‘param’: ‘value’, ‘param’: ‘value’},opt_pretty=True)

list(task_list)

1 Like

Calling on the experts @ambforumleader can anyone help Tim?

Thanks!

What is “param”, “value” ? Don’t you use opt_fields instead? I think you get only id+name in results because you don’t use the opt_fields param.

3 Likes