deck icon indicating copy to clipboard operation
deck copied to clipboard

Export/import [$30]

Open jospoortvliet opened this issue 9 years ago • 56 comments

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.

jospoortvliet avatar Apr 04 '17 12:04 jospoortvliet

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?

vitormattos avatar Jul 08 '21 03:07 vitormattos

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.

vitormattos avatar Jul 11 '21 13:07 vitormattos

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 avatar Jul 30 '21 15:07 bugzy

@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 avatar Jul 30 '21 23:07 vitormattos

@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 avatar Aug 05 '21 14:08 bugzy

@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 avatar Aug 05 '21 17:08 vitormattos

@vitormattos thanks for the explanation.

bugzy avatar Aug 08 '21 14:08 bugzy

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

sunjam avatar Jan 04 '22 02:01 sunjam

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.

vitormattos avatar Jan 04 '22 12:01 vitormattos

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

juliusknorr avatar Jan 04 '22 18:01 juliusknorr

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 ?

Majed610 avatar Apr 13 '23 09:04 Majed610

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.

gabmert avatar Apr 13 '23 17:04 gabmert

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?

ne0YT avatar Oct 18 '24 20:10 ne0YT

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 avatar Oct 18 '24 21:10 sunjam

@sunjam still there is no functional import using the ci. those remaining issues are about a ui feature

ne0YT avatar Oct 18 '24 21:10 ne0YT

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

sunjam avatar Oct 19 '24 03:10 sunjam