You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/User_documentation_en.md
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,17 +105,21 @@ It is possible to import from the following sources:
105
105
106
106
#### Trello JSON
107
107
108
-
Steps:
109
-
* Create the data file
110
-
* Access Trello
111
-
* go to the board you want to export
112
-
* Follow the steps in [Trello documentation](https://help.trello.com/article/747-exporting-data-from-trello-1) and export as JSON
113
-
* Create the configuration file
114
-
* Execute the import informing the import file path, data file and source as `Trello JSON`
108
+
**Limitations:**
109
+
* Comments with more than 1000 characters are placed as attached files to the card.
115
110
116
-
Create the configuration file respecting the [JSON Schema](https://github.com/nextcloud/deck/blob/main/lib/Service/Importer/fixtures/config-trelloJson-schema.json) for import `Trello JSON`
111
+
**Steps:**
112
+
1. Create the data file:
113
+
* Access Trello.
114
+
* Go to the board you want to export.
115
+
* Follow the steps in [Trello documentation](https://help.trello.com/article/747-exporting-data-from-trello-1) and export as JSON.
116
+
2. Create the configuration file.
117
+
3. Execute the import, specifying the import file path, data file, and source as `Trello JSON`.
118
+
119
+
Create the configuration file respecting the [JSON Schema](https://github.com/nextcloud/deck/blob/main/lib/Service/Importer/fixtures/config-trelloJson-schema.json) for importing `Trello JSON`.
117
120
118
121
Example configuration file:
122
+
119
123
```json
120
124
{
121
125
"owner": "admin",
@@ -126,26 +130,22 @@ Example configuration file:
126
130
}
127
131
```
128
132
129
-
**Limitations**:
130
-
131
-
Importing from a JSON file imports up to 1000 actions. To find out how many actions the board to be imported has, identify how many actions the JSON has.
133
+
**Additional Limitations**:
134
+
* Importing from a JSON file imports up to 1000 actions. To find out how many actions the board to be imported has, check the number of actions in the JSON.
132
135
133
136
#### Trello API
134
137
135
-
Import using API is recommended for boards with more than 1000 actions.
136
-
137
-
Trello makes it possible to attach links to a card. Deck does not have this feature. Attachments and attachment links are added in a markdown table at the end of the description for every imported card that has attachments in Trello.
138
+
Importing via API is recommended for boards with more than 1000 actions. Trello allows attaching links to a card, but Deck does not support this feature. Attachment links are instead added in a markdown table at the end of the description for each imported card.
138
139
139
-
* Get the API Key and API Token [here](https://developer.atlassian.com/cloud/trello/guides/rest-api/api-introduction/#authentication-and-authorization)
140
-
* Get the ID of the board you want to import by making a request to:
This ID you will use in the configuration file in the `board` property
144
-
* Create the configuration file
145
-
146
-
Create the configuration file respecting the [JSON Schema](https://github.com/nextcloud/deck/blob/main/lib/Service/Importer/fixtures/config-trelloApi-schema.json) for import `Trello JSON`
140
+
1. Get the API Key and Token [here](https://developer.atlassian.com/cloud/trello/guides/rest-api/api-introduction/#authentication-and-authorization).
141
+
2. Obtain the ID of the board you want to import by making a request to:
3. Create the configuration file, ensuring it follows the [JSON Schema](https://github.com/nextcloud/deck/blob/main/lib/Service/Importer/fixtures/config-trelloApi-schema.json) for `Trello JSON`.
Copy file name to clipboardExpand all lines: docs/export-import.md
+40-46Lines changed: 40 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,27 +4,27 @@
4
4
-->
5
5
## Export
6
6
7
-
Deck currently supports exporting all boards a user owns in a single JSON file. The format is based on the database schema that deck uses. It can be used to re-import boards on the same or other instances.
7
+
Deck currently supports exporting all boards a user owns in a single JSON file. The format is based on the database schema that Deck uses. It can be used to re-import boards on the same or other instances.
8
8
9
-
The export currently has some kown limitations in terms of specific data not included:
9
+
The export currently has some known limitations in terms of specific data not included:
10
10
- Activity information
11
-
- File attachments to deck cards
11
+
- File attachments to Deck cards
12
12
- Comments
13
-
-
13
+
14
14
```
15
15
occ deck:export userid > userid-deck-export.json
16
16
```
17
-
(userid = username you see in admin useraccounts page)
17
+
*(`userid` = username as seen in the admin user accounts page)*
18
18
19
-
## Import boards
19
+
## Import Boards
20
20
21
21
Importing can be done using the API or the `occ``deck:import` command.
22
22
23
23
It is possible to import from the following sources:
24
24
25
25
### Deck JSON
26
26
27
-
A json file that has been obtained from the abovedescribed `occ deck:export [userid] > userid-deck-export.json` command can be imported.
27
+
A JSON file that has been obtained from the above-described `occ deck:export [userid] > userid-deck-export.json` command can be imported.
You will be asked to provide a path to a config file.
34
34
35
35
To know what to put in there:
36
-
- Have a look at your userid-deck-export.json
37
-
- fairly at the top you will see "uid" with a username.
38
-
- search for some more "uid" till you find all the usernames involved and note them.
39
-
- search for "acl"
40
-
- in there there are "uid" of groups note them too
36
+
- Have a look at your `userid-deck-export.json`
37
+
- Near the top, you will see `"uid"` with a username.
38
+
- Search for additional `"uid"` entries to find all the usernames involved and note them.
39
+
- Search for `"acl"`, where `"uid"`s of groups are also present; note them too.
41
40
42
-
In case you are importing from a different instance you must provide custom user id mapping in case users have different identifiers.
41
+
If you are importing from a different instance, you must provide custom user ID mapping in case users have different identifiers.
43
42
44
-
create a config file e.g `deck-import-config-file-userid.json` and ajust the content of this example as descibed above.
45
-
Userids on new instance can be seen in the admin useraccounts page.
46
-
```
43
+
Create a config file, e.g.,`deck-import-config-file-userid.json`, and adjust the content of this example as described above. User IDs on the new instance can be seen in the admin user accounts page.
44
+
45
+
```json
47
46
{
48
-
"owner": "useridofnewownderofallboards",
47
+
"owner": "useridofnewownerofallboards",
49
48
"uidRelation": {
50
49
"userid1onoldinstance": "userid1onnewinstance",
51
-
"userid2onoldinstance": "userid2onnewinstance",
52
-
"groupid1onoldinstance": "groupid1onnewinstance"
53
-
50
+
"userid2onoldinstance": "userid2onnewinstance",
51
+
"groupid1onoldinstance": "groupid1onnewinstance"
54
52
}
55
53
}
56
54
```
57
-
after you hit enter everything will be imported.
58
55
56
+
After pressing enter, everything will be imported.
59
57
60
58
Additional info:
61
-
- If you export a users boards, all boards that the user has access to will be exported. (also the onws shared to that user)
62
-
59
+
- If you export a user’s boards, all boards that the user has access to will be exported (including those shared with that user).
63
60
64
61
#### Trello JSON
65
62
66
-
Limitations:
63
+
**Limitations:**
67
64
* Comments with more than 1000 characters are placed as attached files to the card.
68
65
69
-
Steps:
70
-
* Create the data file
71
-
* Access Trello
72
-
* go to the board you want to export
73
-
* Follow the steps in [Trello documentation](https://help.trello.com/article/747-exporting-data-from-trello-1) and export as JSON
74
-
* Create the configuration file
75
-
* Execute the import informing the import file path, data file and source as `Trello JSON`
66
+
**Steps:**
67
+
1. Create the data file:
68
+
* Access Trello.
69
+
* Go to the board you want to export.
70
+
* Follow the steps in [Trello documentation](https://help.trello.com/article/747-exporting-data-from-trello-1) and export as JSON.
71
+
2. Create the configuration file.
72
+
3. Execute the import, specifying the import file path, data file, and source as `Trello JSON`.
76
73
77
-
Create the configuration file respecting the [JSON Schema](https://github.com/nextcloud/deck/blob/main/lib/Service/Importer/fixtures/config-trelloJson-schema.json) for import`Trello JSON`
74
+
Create the configuration file respecting the [JSON Schema](https://github.com/nextcloud/deck/blob/main/lib/Service/Importer/fixtures/config-trelloJson-schema.json) for importing`Trello JSON`.
78
75
79
76
Example configuration file:
77
+
80
78
```json
81
79
{
82
80
"owner": "admin",
@@ -87,26 +85,22 @@ Example configuration file:
87
85
}
88
86
```
89
87
90
-
**Limitations**:
91
-
92
-
Importing from a JSON file imports up to 1000 actions. To find out how many actions the board to be imported has, identify how many actions the JSON has.
88
+
**Additional Limitations**:
89
+
* Importing from a JSON file imports up to 1000 actions. To find out how many actions the board to be imported has, check the number of actions in the JSON.
93
90
94
91
#### Trello API
95
92
96
-
Import using API is recommended for boards with more than 1000 actions.
97
-
98
-
Trello makes it possible to attach links to a card. Deck does not have this feature. Attachments and attachment links are added in a markdown table at the end of the description for every imported card that has attachments in Trello.
93
+
Importing via API is recommended for boards with more than 1000 actions. Trello allows attaching links to a card, but Deck does not support this feature. Attachment links are instead added in a markdown table at the end of the description for each imported card.
99
94
100
-
* Get the API Key and API Token [here](https://developer.atlassian.com/cloud/trello/guides/rest-api/api-introduction/#authentication-and-authorization)
101
-
* Get the ID of the board you want to import by making a request to:
This ID you will use in the configuration file in the `board` property
105
-
* Create the configuration file
106
-
107
-
Create the configuration file respecting the [JSON Schema](https://github.com/nextcloud/deck/blob/main/lib/Service/Importer/fixtures/config-trelloApi-schema.json) for import `Trello JSON`
95
+
1. Get the API Key and Token [here](https://developer.atlassian.com/cloud/trello/guides/rest-api/api-introduction/#authentication-and-authorization).
96
+
2. Obtain the ID of the board you want to import by making a request to:
3. Create the configuration file, ensuring it follows the [JSON Schema](https://github.com/nextcloud/deck/blob/main/lib/Service/Importer/fixtures/config-trelloApi-schema.json) for `Trello JSON`.
0 commit comments