Tasks in multiple projects are copied multiple times

Issue #21 new
Mike Houston repo owner created an issue

Luis Faustino: http://kothar.net/organise_asana#comment-2128260584

One other thing is that if a task belongs to more than one project, that task is duplicated at each project instead of having all the projects assigned to the same task. This is important as one of the advantages of ASANA is to have one task belonging to more than one project so we can have different views of projects and only manage a single task

Comments (5)

  1. Mike Houston reporter

    After implementing OAuth login (#12) we can store a custom ID for new tasks, which will allow de-duplication during the copy

  2. Mike Houston reporter

    Yes, this is still an issue. The current way the copy works is 'stateless' which means that when copying a task it doesn't know if it's already been copied without making an extra call to the Asana API. Since the API is rate limited, this would slow it down even more.

    There are ways around this, the best option is to read all the tasks to copy first, work out which would be duplicates, and then generate a plan which is able to build the correct project structure. That turned out to be a bigger piece of work than I originally expected (as it always does).

  3. Log in to comment