A card had exactly one release, scrum.releaseId. Jira import kept only the
first fix version of an issue and reported the rest as lost, Jira export
wrote no fix versions at all, and the card UI could not show or pick more
than one release.
A card's releases are now a list, scrum.releaseIds, with releaseId kept as
its first entry so older servers, importers and REST readers still see one.
Existing cards are not migrated: every reader goes through cardReleaseIds(),
which reads the list and the old single field the same way, so cards saved
either way work side by side, and a card moves to the new form on its next
Scrum save. A save with releaseIds replaces the list; a save with only
releaseId, from an older client, replaces the first release and keeps the
others, and null clears them. Every release must belong to the board,
checked in one query; duplicates collapse and a releaseId that contradicts
the list is refused.
Copies and moves to another board link each release by name. The native
transfer writes one release exactly as before and adds releaseIds only for
cards with several, and remaps each of them on import. Jira import maps every
fix version and Jira export writes them all as fixVersions. Board View /
Sprints shows each release's cards and how many are done, counting a card in
each of its releases. Scrum History checks and guards every release, and
rule e-mails name them all. The Product Backlog and card details use a
multiple select.
tests/scrumMultipleReleases.test.cjs covers the rules and fails if any code
reads the single field directly; a Playwright spec drives the UI. New text is
in English, pending Transifex.
Thanks to xet7 !
A sprint over 10,000 cards was refused at start and close. With the
snapshot rows already outside the sprint document, the rest now is too:
- The rollover plan of a close goes to its own collection,
scrumRolloverRows, in chunks bounded by rows and bytes; the sprint keeps
only rolloverPending: true. A chunk is applied, its cards read at once,
and removed; the mark is cleared when none is left. A plan kept in the
sprint document before this is still finished as it was.
- A Scrum History batch too large for one row is recorded as several rows
sharing a batchId, each at most 1,000 records and 3 MB a side. A record
is in exactly one row, and undo and redo walk the whole batch, with or
without a request ID, so one undo still reverses a whole close.
- Daily burndown observations keep their rows in scrumSnapshotRows too.
- No 10,000-card limit is left: snapshot inputs, daily capture, scope
replay, the daily report and the transfer read every card.
Undoing a batch re-hashed its whole History row and sent its whole plan as
a selector before every record write, so a 1,500-card undo took four
minutes. The row is now checked whole when the operation begins and by
its identity fields after that, and the worker check uses the plan's
identity and the worker's random id - nothing ever rewrites a pending
plan. A 10,500-card sprint closes in 8 s and undoes in 44 s.
Thanks to xet7 !
A sprint's start and close snapshots kept one row per card inside the
sprint document, so a sprint over about 15,000 cards could not be closed.
The rows now go to their own collection, scrumSnapshotRows, in immutable
chunks of 2,000 named by sprint, kind, snapshot time and chunk number, so a
retried start or close, an undo or a redo finds the same rows. The sprint
keeps a header and the report's totals, computed from all rows.
The board data computes each sprint's report on the server and sends only
snapshot headers: from the stored totals, or for an assigned-only reader
from the rows they may see. The scope replay, the transfer export and the
board copy read the rows from wherever they are kept; the transfer import
writes them back as chunks through the import journal. Snapshots stored
inline before this keep working.
Thanks to xet7 !
Stage private per-document recovery steps before destination writes and retain board-level pending state through marker cleanup. Preserve stable IDs and exact before/after values for interrupted writes. Public coordinated replay and rollback remain unfinished.
Introduce version 2 while accepting version 1 imports. Remap snapshot references, retain measured epochs and partial-data notices, bound transfer sizes, and prevent collectors from observing unfinished imports.
Thanks to xet7 !
Add a selectable Scrum section, scope planning records and snapshots, report omitted references, preserve anonymization and exclude operational recovery state. Native import and History transfer remain documented follow-up work.
Thanks to xet7 !