Performance issue - get all attachments of all tasks

Hi everyone…

Following the recent changes with subtasks items, and the new num_subtasks field, I want to know if I can get the same performance improvement when I need to query all attachments of all tasks…

Is it possible to know if a task has attachments before fetching them?
I don’t want to use opt_fields=attachments, as it is undocumented so it’s unsupported, and I suppose, slowing down the asana api.

2 Likes

This is a good question.

@Joe_Trollo @Jeff_Schneider @Matt_Bramlage, is it OK to use opt_fields=attachments and opt_expand=attachments or should we avoid those as is the case for subtasks?

3 Likes

Hey @Frederic_Malenfant,

While it’s not supported today to know if a task has attachments before fetching, we really appreciate the suggestion! We are looking into the feasibility and implications of building this.

We’ll keep you (and the rest of the community) updated on what we find out and decide to do.

Cheers!
Jeff

Good to know, @Jeff_Schneider. How about my question?

Inquiring minds want to know…