Task completion status is not copied to the new project

Issue #1 resolved
Mike Houston repo owner created an issue

Comment from Alex: Seems to be copying my completed tasks as new. which is not so great.

Comments (5)

  1. ISTLabs, LLC NA

    Hello Mike.

    I have downloaded the master branch source code (app) and setup it up on my local MAMP PHP 5.5.3 and ran the app using Chrome v 31.

    Objective: copy "Personal" Workspace project to a New Workspace Project under the same Asana Account.

    Followed steps: Enter the Asana Account API-KEY and select a project from "Personal" workspace. Then select the target workspace the app presents errors:

    Error Loading Workspace!

    Error Loading Projects!Error Loading Projects! Copying to /

    Please advice on what solution you have have to resolve this error.

    Thanks,

    Ricardo

  2. Mike Houston reporter

    Hi Ricardo,

    IIRC, it will say there is an error loading the target workspace if it is empty, but it should still perform the copy. Once a project is created, the error message will not be shown.

    1. Can you check if it copies the project anyway, even with the error message?
    2. Does the error go away if you create a test project in the target workspace?

    Let me know if it still doesn't work and I'll see if I can offer any other advice.

    Regards, Mike.

  3. ISTLabs, LLC NA

    Mike,

    Thanks for the prompt response. I would like to start by saying that I repeated the entire process again and the results were different.

    First I downloaded the master branch, double checked my API-Key. Validated that the targeted workspace had projects, in fact it had 3 other projects.

    After selecting the Personal Workspace project (17 tasks with descriptions and tasks assigned) I selected the targeted workspace (with 3 other projects). The good news is that the app did not present any errors this time around. However, it is a different machine using same setup MAMP PHP 5.5.3 and Chrome v 31.

    The app did executed the request without errors, it did take approximately 5 minutes to complete though. And upon completion, the targeted workspace did have the copy of the project from Personal workspace -- but without all the 17 tasks. Only 5 tasks were created. The tasks did have the description and resource assigned (person) to the task.

    I repeated the process 3 more times with different workspaces containing projects (not empty) with the same Personal workspace project. The results were alarmingly different. Each time the app created the project with only 1 task, each time.

    Something to consider as you improve the code.

    Thanks for doing Asana's job. :-)

    ®icardo

  4. Mike Houston reporter

    While the variable behaviour reported by Ricardo hasn't been reproduced, the completion flag is now correctly copied across, so I'm resolving this issue.

  5. Log in to comment