Commit Graph
2 Commits
Author SHA1 Message Date
Lauri Ojansivu 5b723c111e A Scrum transfer's card that is only on its source board is "not matched", not "on another board".
Importing Scrum planning into an existing board reported every card of the
file's own source board that had no match on the target as belonging to
another board, so "card-not-matched" was all but unreachable for the usual
board-to-board transfer and the server test of the import failed. The
lookup for cards of other boards now leaves out the file's own board; a
card of a third board named in the file is still reported as another
board's and never written.

Thanks to xet7 !
2026-10-10 11:44:19 +03:00
Lauri Ojansivu ef54907836 Import Scrum planning into an existing board.
Every Scrum import used to create a new board. A board administrator can
now import a native wekan-scrum-2 transfer, or a WeKan board export, into
a board that already exists, from the Sprints view: Preview shows what
would change and writes nothing, Import writes it.

Sprints and releases are matched by ID on this board, then by
provenance, then by a name exactly one record has on each side; the rest
are created once with the source's provenance, so importing the same
file again changes nothing. Cards are matched by ID, or by card number
and title, and never created; unmatched, ambiguous and other boards'
cards are reported and left alone. Matched cards get the file's sprint,
releases, backlog rank, issue type and acceptance criteria; a move into a
finished sprint is refused. The writes go through the journaled Scrum
import stage, so an interrupted import is finished or discarded the same
way, and are recorded as one Scrum History change.

Thanks to xet7 !
2026-10-08 12:36:57 +03:00