Getting all tasks

Hi,

Part of our integration work is to sync all clients, projects and tasks
from FreeAgent into our app, Timestamp. This works well, but for some of
our larger customers the number of requests is pretty high because we
cannot get all tasks in a single request (or multiple paged). One example
is a customer with ~550 projects but only 8 tasks. Because tasks are
retrieved per-project we have to make 550 separate requests, only to find
most responses empty. This problem is exacerbated because we do automatic
syncing, which means this is happening at regular intervals.

Is it possible to have either:

  1. The number of tasks for a particular project included as part of the
    resource
  2. An ‘open’ tasks resource that will return all tasks regardless of
    project, similar to how projects work.

Thanks,
Adam

Hi Murray,

Thanks for adding the task. I’ve upvoted in Trello. Looking forward to
(hopefully?) seeing this find its way into production.

Regards,
AdamOn Friday, 13 June 2014 13:46:32 UTC+1, Murray Summers wrote:

Hello Adam,

Thank you for your useful feedback.

As you have described the current way to retrieve all tasks involves a lot
of requests. As such, I have added a feature request to the FreeAgent API
Development board https://trello.com/b/SdbXnU9E describing the current
problem and a proposed solution:

Regards,
Murray Summers

On Thursday, June 12, 2014 4:42:10 PM UTC+1, Adam Barclay wrote:

Hi,

Part of our integration work is to sync all clients, projects and tasks
from FreeAgent into our app, Timestamp. This works well, but for some of
our larger customers the number of requests is pretty high because we
cannot get all tasks in a single request (or multiple paged). One example
is a customer with ~550 projects but only 8 tasks. Because tasks are
retrieved per-project we have to make 550 separate requests, only to find
most responses empty. This problem is exacerbated because we do automatic
syncing, which means this is happening at regular intervals.

Is it possible to have either:

  1. The number of tasks for a particular project included as part of the
    resource
  2. An ‘open’ tasks resource that will return all tasks regardless of
    project, similar to how projects work.

Thanks,
Adam

Hello Adam,

Thank you for your useful feedback.

As you have described the current way to retrieve all tasks involves a lot
of requests. As such, I have added a feature request to the FreeAgent API
Development board https://trello.com/b/SdbXnU9E describing the current
problem and a proposed solution:

Regards,
Murray SummersOn Thursday, June 12, 2014 4:42:10 PM UTC+1, Adam Barclay wrote:

Hi,

Part of our integration work is to sync all clients, projects and tasks
from FreeAgent into our app, Timestamp. This works well, but for some of
our larger customers the number of requests is pretty high because we
cannot get all tasks in a single request (or multiple paged). One example
is a customer with ~550 projects but only 8 tasks. Because tasks are
retrieved per-project we have to make 550 separate requests, only to find
most responses empty. This problem is exacerbated because we do automatic
syncing, which means this is happening at regular intervals.

Is it possible to have either:

  1. The number of tasks for a particular project included as part of the
    resource
  2. An ‘open’ tasks resource that will return all tasks regardless of
    project, similar to how projects work.

Thanks,
Adam