Both were reported as losses because an import never grants access. A
watcher needs none: a source watcher now becomes a card watcher when the
members mapping maps them to a member of the new board. Anyone else -
unmapped, or mapped to a user who is not a board member and would
otherwise receive a private board's notifications - is counted in the
import's loss report instead. Nextcloud Deck sharing rules stay a
reported loss by design.
The planner tests pin board-member-only watching and the count of the
rest; the Asana and OpenProject tests pin the mapping from their
fixtures. A source guard for GitLab's Requested By follows the
gitlabUser helper introduced for the GitLab adapter.
Thanks to xet7 !
JiraCreator dropped comments, sub-tasks, the parent hierarchy, priority,
components, fix versions and ordinary custom fields, and sorted every card
at -1. It now imports comments with ADF bodies as text, shown by the
author's display name and posted by the mapped user when the account id
was mapped; links sub-tasks and child issues imported together to their
parent and lists the others as a Sub-tasks checklist; makes priority,
components and fix versions board labels; imports customfield_ values
named from the search response's names map, except the field already
mapped as the estimate; and keeps the search order.
The checklist and comment inserts are shared with the other external
importers. jiraPageWarnings recognizes an incomplete enhanced or classic
search page for the import report.
Thanks to xet7 !
The Deck parser kept title, description, due date, one assignee and label
names. It now keeps every assignee as a card member when mapped, comments
embedded from the OCS comments API, archive state, done and creation
times, and stack and card order. Trashed stacks and cards are skipped and
counted in warnings. Sharing rules never become board members, because a
file naming a user must not grant access; they and Nextcloud attachments
are listed in the unsupported report.
External imports now keep the source order of cards instead of giving
them all sort 0, and create checklists and comments through the writer
that keeps their dates.
Thanks to xet7 !
Every external import goes through KanboardCreator, which wrote a card and
nothing else, so a parser had nowhere to put a subtask, a comment, a start
or end date, a closed state or a card color. The normalized task now
carries them, models/lib/importedTaskPlan.js decides what each becomes, and
the creator inserts checklists, comments with their addComment activities,
and the card fields the plan returns.
Dates that do not parse, and Kanboard's "0" for no date, are no longer
stored as Invalid Date or 1970. A comment by an unmapped author is posted
by the importing user with the author's name leading the text.
Thanks to xet7 !