Export/import [$30]
So Desk is awesome and we have decided to start using it for our marketing coordination (hi @NinaNC !)
One thing I'd like to see, but probably crazy, is a way to export boards. Both because I'm always worried something breaks but also it'd be nice to have them available off line.
Even nicer would be if the actual boards could be stored in markdown-ish text files on Nextcloud itself so I have full access to them and can keep working when flying but I realize that that is probably a bit too far fetched :roll_eyes:
There is a $30 open bounty on this issue. Add to the bounty at Bountysource.
I created this repository. I just rewrote this project in PHP.
Suggestions for next steps:
- [x] Make a Deck Command
- [x] Remove API requests and transform them into requests for Services classes
- [x] Implement in json configuration a from/to Trello accounts for Deck accounts
Can I continue with the next steps?
I created a pull request to import a json file exported from a Trello board. I will be happy with the comments and code review.
I have been waiting on this for a while so I decided to search github for implementations and it looks like some other folks have been tackling this issue in various ways. just thought to post this here for inspiration and ideas towards an official solution (Note: I have NOT tested any of these applications):
- https://github.com/newroco/DeckImportExport (this may just be a junk repo: an unmodified fork of an unrelated project)
- https://github.com/keitalbame/nextcloud-deck-export-import
- https://github.com/filipizydorczyk/next-cloud-deck-backup
- https://github.com/matchish/nextcloud-deck-transfer-ownership
- https://github.com/mclang/nextcloud-deck-import-trello-json
- https://github.com/jonasof/kb-to-nd
@bugzy on this #3182 I already imported everything that is possible from the Trello to the Deck. What is pending is the code review, who can cooperate will be good.
@vitormattos great to hear that. Am I understanding correctly that your pull request addresses only trello JSON import and not NC Deck JSON import?
@bugzy I'm happy to help! :-D
The import I implemented accepts for now two methods:
- Trello JSON files. It has a limit of 1000 actions.
- Trello API. This is the most recommendable, it matters everything that is possible from Trello.
There are more details in the PR description and in the documentation that I implemented.
This PR I made opens the possibility to import from other board systems like Asana for example.
@vitormattos thanks for the explanation.
edit: Seems import and export within Deck are not available yet. Just mentioning since the Pull Request that closed this is for Trello import.
Should a new issue be opened for Import Board ? Export board https://github.com/nextcloud/deck/pull/3065
Hi @sunjam ,
To import it is necessary to define from which system the data will be imported.
With #3182 I implemented the tool to import from Trello Json and Trello API and to make easy and possible implement the ETL to import probably from any board system.
The export already was implemented as a command (occ deck:export) and the frontend is WIP on #3065.
I've wrapped the remaining parts into smaller and separated tickets
https://github.com/nextcloud/deck/issues?q=is%3Aopen+label%3Aenhancement+label%3A%22feature%3A+export%2Fimport%22
I have one quick question, because my coding-experience is not the best.
In OCC after using the command deck:export (which use export a JSON dump of users Cards). Where is the exported file stored. I can't find it anywhere.
Would it function with the command deck:import on the new NextCloud ?
Hi @Majed610, when you use occ deck:export the info gets dumped to standard output, usually your terminal. If you want to have it in a file, you could use following command, which is bash redirection occ deck:export > ~/deck-export.json.
If you follow above post you can see that the import function doesn't seem to be implemented yet.
so this (import) still just doesn't work? if so.. why are those issues closed? why are the docs suggesting otherwise? and if not.. how tf would I import?
The remaining current issues were linked above, but here they are directly:
- https://github.com/nextcloud/deck/issues/3508
- https://github.com/nextcloud/deck/issues/3506
@sunjam still there is no functional import using the ci. those remaining issues are about a ui feature
All I know is they are occ commands for import and export. Listed above or in docs. https://deck.readthedocs.io/en/latest/User_documentation_en/#6-import-boards