Hi,
The JSON import from Trello seems to be ignoring the closed field, both in lists and in cards. This gives me tons of cards and lists that I had "deleted" (archived).
I’m probably going to edit the JSON myself to fix this but I thought you might want to hear about this issue in case you were not aware.
Other than that, the import seems to be working great, and I’m super impressed with this tool so far!
Sylvain
Hi everyone - This is resolved in the latest updated version.
The archived tasks from Trello when imported to Quire will be hidden (peekaboo-ed) from the Board view.
Please let us know if there's any questions. Thank you!
Peggy, Apr 28, 2021
Hi @Sylvain_Brunerie and @Monish - Yes, we are aware of this issue. I have already passed it to our engineering team. I will make a note internally again. When I have more update for this issue, I will let you guys know! Thank you for taking your time to write us a feedback! 👍
Peggy, Mar 31, 2021
Complete code:
import json
data = json.load(open("trello-backup-or-whatever.json"))
lists = list(filter(lambda l : not l.get("closed"), data.get("lists"))
cards = list(filter(lambda c : not c.get("closed"), data.get("cards"))
data.update(cards = cards, lists = lists)
json.dump(data, open("new-trello-backup.json", "w"))
Monish, Mar 28, 2021
Here is a workaround in the meantime for the developers among you all:
import jsondata = json.load(open("trello-backup-or-whatever.json"))lists = list(filter(lambda l : not l.get("closed"), data.get("lists)))cards = list(filter(lambda c : not c.get("closed"), data.get("cards")))data.update(cards = cards, lists = lists)json.dump(data, open("new-trello-backup.json", "w"))This should do it. It worked perfectly for me. I might have made some typos when typing the commands though, but you’ll figure them out 😃
Sylvain Brunerie, Mar 26, 2021