mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
Taskwarrior's task export / task import JSON is the task format of the Taskwarrior command line tool, and WeKan read and wrote neither. It now imports from the import picker, as a JSON array or one task per line as versions before 2.4 write it, and exports from the board's export menu. A completed task goes to Done, a waiting one to Waiting and a started one to In Progress; project and priority become labels, tags become labels, entry, due, scheduled and end become dates, annotations become comments and depends becomes blocked-by dependencies resolved by uuid. WeKan's wekanlist and wekandescription attributes, which Taskwarrior keeps as orphaned UDAs, carry list names and descriptions across a round trip. Deleted tasks, recurring templates, bad dates and unmapped attributes are reported in the loss report instead of guessed. tests/taskwarrior.test.cjs covers the mapping, both input shapes, the round trip and the negatives; the format guards learn the new format and a Playwright case imports a Taskwarrior export through the page. The new instruction text is in English, pending translation. Thanks to xet7 !