gamecat69 / wunderlist-to-trello

Migrate data from Wunderlist to Trello
4 stars 1 forks source link

Migrate data from Wunderlist to Trello

Microsoft have bought Wunderlist and announced they will be closing down Wunderlist. The next best alternative - in my opinion - with similar functionality is Trello. Currently there are no free tools available to export data from Wunderlist into Trello, so I built this.

Instructions

Clone this repo

git clone https://github.com/gamecat69/wunderlist-to-trello.git

Install required packages

pip install -r requirements.txt or pip3 install -r requirements.txt or pip3 install requests==2.20.0 && pip3 install urllib3==1.24.2

Export data from Wunderlist (if using json method)

This method is deprecated in favour of the Wunderlist API method

  1. Start an Export, then download zip from here https://export.wunderlist.com/
  2. Extract the zip file and place the file Tasks.json in the same folder as this repo.

Get a Wunderlist ClientId and Token (if using API method)

  1. Login here https://developer.wunderlist.com/apps.
  2. Follow the additional link to create an App and get the ClientId and Token.

Get a Trello API Key and Token

  1. Login and get an API Key from here https://trello.com/app-key.
  2. Follow the additional link to create an API Token.

Create the config file

Create a file called config.json by copying and editing config-example.json:

You dont need values for TrelloAPISecret or WunderlistClientSecret for this current version - we may need this later....

[todo]

Test everything is OK

  1. Play around with the code examples:
    • example-trello.py
    • example-wunderlist.py

Import data into Trello from Wunderlisst

  1. Run main.py

Import Rules

The destination Trello list is based on the following logic:

If a board of the same name already exists, Wunderlist tasks are imported into the existing board.

Optional functionality - Assign a team member to starred tasks

In Trello, I like to have all Cards in a 'Doing' list visible in https://trello.com/username/cards. To do this, all starred Wunderlist items are assigned to my Trello team member id. You can specify your team member Id in config.json in the field TrelloTeamMemberId. If you dont want this functionality, leave the value blank

Known bugs and features

  1. The Trello API will not allow a new card to be created with the same name as an existing card in the same board. To workaround this issue, rename Wunderlist tasks before running this code.

  2. Wunderlist subtasks are not currently supported.

  3. Due dates and reminders are not currently supported.

  4. List order may not be preserved once imported into Trello.