Is it possible to get completed tasks of a specific user for a specific period of time?
I tried to get this using search but it doesn’t work correctly and doesn’t return any of my tasks and there is no next_page
const params = {
assignee: ‘me’,
completed: true,
‘completed_on.after’: ‘2025-02-17’,
‘completed_on.before’: ‘2025-02-21’,
workspace: this.workspaceId,
limit: 100,
opt_fields: ‘name, completed_at, permalink_url, completed_by, assignee’
};
const response = await axios.get(https://app.asana.com/api/1.0/workspaces/${workspaceId}/tasks/search
, {
headers: {
‘Authorization’: Bearer ${this.token},
‘Content-Type’: ‘application/json’
},
params
});