Giter Club home page Giter Club logo

Comments (6)

ishalyminov avatar ishalyminov commented on May 29, 2024 1

Wow, didn't know about Wunderlist shutting down , thanks for the insight:)
Sure thing, I'll be happy to help make this work for you!

from wunderlist2asana.

SilverLightSaber avatar SilverLightSaber commented on May 29, 2024 1

I ran into this today, I found the issue and where i needed to make the modification. I haven't programed in Python in over a decade and I just became aware of asana. So my technical knowledge is very limited, and I probably can't answer any questions on why it works in some cases and not others.

The comments for create_in_workspace in projects.py states when team will be required. It is also referenced in many other locations in that file.

def create_in_workspace(self, workspace, params={}, **options):
"""If the workspace for your project is an organization, you must also
supply a team to share the project with.

    Returns the full record of the newly created project.

    Parameters
    ----------
    workspace : {Gid} The workspace or organization to create the project in.
    [data] : {Object} Data for the request
    """
    path = "/workspaces/%s/projects" % (workspace)
    return self.client.post(path, params, **options)

After those changes I was able to do an import. I'm not sure if this would need to be done elsewhere since I stopped after my first test import.

Basically the team (when required) needs to have the ID (represented by the ones below) as a parameter. You can get the ID in the URL when you select that team. Ex https://app.asana.com/0/1111111111111111/overview and insert it into line 46, I just entered a bunch of zeroes instead of the actual ID

{'name': project['title'],'team':'1111111111111111'}

from wunderlist2asana.

ishalyminov avatar ishalyminov commented on May 29, 2024 1

Thanks for looking into this @SilverLightSaber! I've applied some changes, and organizations are properly supported now.

from wunderlist2asana.

DanRya avatar DanRya commented on May 29, 2024 1

You're all so amazing. Thank you so much for fixing this and getting it working perfectly for us. This is going to save us SO much time and probably many more people with the shutdown of Wunderlist.

from wunderlist2asana.

ishalyminov avatar ishalyminov commented on May 29, 2024

Hi,

Thanks for reporting this!
Interesting, this 'team' field was never required in my experiments - are you using some special type of project/workspace in Asana?

from wunderlist2asana.

DanRya avatar DanRya commented on May 29, 2024

from wunderlist2asana.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.