mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
Planner's "Export plan to Excel" writes one sheet, Tasks: plan name, plan ID and export date on rows 1-3, then Task ID, Task Name, Bucket Name, Progress, Priority, Assigned To, Created By, the created, start, due and completed dates, Late, Completed By, Description, Completed Checklist Items, Checklist Items and Labels. Columns are matched by name, as newer exports add Is Recurring. Buckets become lists and tasks cards, with the Task ID as source reference, the ;-separated assignees as owner and assignees, Created By as Requested by, the checklist and labels, and Progress, Priority and Completed By as custom fields. Dates are text in the exporting user's locale: day/month order is decided for the whole file, and reported when every date could be read either way; date cells keep their day. Which checklist items were done (Planner exports only a count), a recurring task's repeat and unknown values are reported. Export writes the same workbook as .xlsx. The layout follows a real Planner export, the MIT-licensed test data of the plannr package, added under tests/fixtures/planner/ with its licence. tests/plannerFormat.test.cjs imports it, round-trips an export through ExcelJS and covers the negatives; Playwright cases import the file through the page and download the export. New instruction text is in English, pending Transifex. Thanks to xet7 !
Microsoft Planner export fixture
plannr-test_plan.xlsx is a workbook in the layout Microsoft Planner's
"Export plan to Excel" writes: plan name, plan ID and export date on rows 1-3,
a blank row, the column header on row 5 and one row per task. It is the test
data of plannr
(tests/testdata/test_plan.xlsx), an R package that reads Planner exports,
copied unchanged under its MIT licence (LICENSE-plannr). Its people are the
package author's sample names, and its task IDs repeat, which a real export
does not.
Used by tests/plannerFormat.test.cjs.