Every page under docs/Features/Lists now has What it is, Read more, How to use it, How the numbers are calculated, How it works in WeKan and Commits, checked against the list header, its popups and the server methods. Thanks to xet7 !
3.4 KiB
List menu / Sync
What it is
List menu (☰ in the list header) → Sync opens the settings for keeping
this list up to date from an external tracker such as Jira, GitHub, GitLab or
Gitea (listSyncPopup in client/components/lists/listHeader.jade): the
tracker's issues become the list's cards, and later changes there are brought
in again.
When the list already has a sync source, a check-circle icon beside the entry shows whether the sync is active or paused.
Read more
- Data synchronization and Issue tracking system on Wikipedia.
- The full guide: List sync - sources, fields, credentials, the schedule and conflicts.
How to use it
Who sees it: a board member who is not Comment only, Read only or Read assigned only.
- Click ☰ (List Actions) in the list header → Sync (under Settings).
- Choose the Source, fill in its URL and Project key, and the Credential. Preview changes shows what a run would do.
- Tick Sync enabled and click Save; Sync now checks at once.
The fields, the preview, the run reports and conflict resolution are described step by step in List sync.
How the numbers are calculated
A background job checks every synced list every 15 minutes
(scanListSync in server/listSync.js); the
preview and report counts (created, updated, archived, omitted) are explained
in List sync.
How it works in WeKan
- The popup is UI wiring only: the configuration, the Sync run and conflict
resolution are server methods in
server/methods/listSync.js
(
setListSyncSource,hasListSyncCredential,previewListSync,syncListNow,listSyncRunReports,resolveListSyncConflict), which make their own permission checks (board write access). - The credential field is write-only: it always starts empty, and only whether a credential is set is shown.
- Tests: tests/listSyncUiWiring.test.cjs
and the other
tests/listSync*.test.cjssuites, tests/playwright/specs/list-sync-source.e2e.js.
Commits
- run outcomes and coverage reports are kept
- preview Sync changes without applying writes
- resolve field conflicts from the list popup
- choose card creation and archival in the popup
- choose the synchronized text fields in the popup
- a Sync section in the list menu for the list-sync backend
- a list-sync job keeps a list up to date from Jira, GitHub, GitLab and Gitea