Files
wekan/docs/DeveloperDocs/Card-Email-Field-Inventory.json
T
Lauri Ojansivu a904ca8807 Let a card be a subtask of several parent cards.
"A must be done before B and C can start, so A is a subtask of both." A card
now keeps every parent in parentIds, with parentId still the primary one
(parentIds[0]), so everything that reads one parent keeps working and a card
written before this has its one parent. Picking an existing card as a
subtask adds this card as a further parent instead of replacing the one it
had; Card -> More lists the other parents and removes one, and choosing the
primary parent keeps the others. Children are found under any parent - the
subtask list and counter, the parent filter, rule email Details and the
exports - and the loop guard and the board publication walk every parent.
Archiving or deleting a card takes only the subtasks it is the one parent
of; a shared subtask just loses it. Every parent written must be on a board
the writer can see (GHSA-jvv9-498p-hxrg), and board copy and WeKan import
remap all of them. The old single-parent walker is removed.

Thanks to ikomhoog and xet7 !

Fixes #3626,
2026-09-29 17:59:21 +03:00

67 lines
4.1 KiB
JSON

[
{
"fields": ["title", "description"],
"handling": "Footer resolves the authorized source card or board; stale link copies are excluded."
},
{
"fields": ["boardId", "listId", "swimlaneId", "sort", "subtaskSort", "listEnteredAt", "lastMoveReason"],
"handling": "Readable placement in ordinary Details and the separate local wrapper section; foreign list/lane names are excluded."
},
{
"fields": ["recurrenceInterval", "lastRecurrenceAt"],
"handling": "Ordinary Details and local wrapper Details; recurrence setters use the displayed card ID."
},
{
"fields": ["flowStartAt", "flowInterruptions", "flowUserId", "pomodoroStartAt", "pomodoroPhase", "pomodoroCount", "pomodoroUserId", "pomodoroWorkMinutes"],
"handling": "Persisted snapshots and public owner names in ordinary and local wrapper Details."
},
{
"fields": ["scrum"],
"handling": "Six visible fields in ordinary/local wrapper Details; sprint and release names require the same board. Internal Scrum snapshots and revisions are excluded."
},
{
"fields": ["archived", "archivedAt", "createdAt", "modifiedAt", "dateLastActivity", "cardNumber", "color"],
"handling": "Ordinary/source Details. Both link types separately include local archive state/date and lifecycle timestamps. Card number/color follow getRealCard(): source-owned for linked cards, local for linked-board wrappers. Target-board archive state remains in target Details."
},
{
"fields": ["receivedAt", "startAt", "dueAt", "endAt", "spentTime", "isOvertime", "dueComplete"],
"handling": "Ordinary/source Details. Linked-board Details includes four dates, spent time, overtime and due-complete from the current target."
},
{
"fields": ["members", "assignees", "requesters", "assigners", "requestedBy", "assignedBy", "userId"],
"handling": "Ordinary/source Details resolves public names for account references; requestedBy/assignedBy are prose. Linked-board Members and Assignees use deduplicated active target members with public names, matching card getters. Linked-board local creator/requesters/assigners appear separately with the wrapper board scope."
},
{
"fields": ["labelIds", "customFields", "stickers", "locationName", "locationAddress", "locationLatitude", "locationLongitude", "locations"],
"handling": "Ordinary/source Details with custom-field visibility and definition checks. Linked-board local Details renders these wrapper-owned fields with local definitions, admin visibility and policy fingerprints."
},
{
"fields": ["parentId", "parentIds", "cardDependencies", "targetId_gantt", "linkType_gantt"],
"handling": "Ordinary/source Details resolves authorized targets and groups duplicate labels. Linked-board wrapper relationships use the same authorized resolver and durable related-source evidence. Dependency color/icon are presentation metadata, not separate targets."
},
{
"fields": ["vote", "poker"],
"handling": "Ordinary/source and linked-board Details use disclosure checks. Private voter identities and unfinished Poker choices are excluded; voting configuration is not serialized wholesale."
},
{
"fields": ["coverId"],
"handling": "Live selected attachment manifest identifies the cover without exporting an internal ID."
},
{
"fields": ["type", "linkedId"],
"handling": "Control source resolution and durable identity checks; not raw prose fields."
},
{
"fields": ["scrumRevision", "syncSourceKey", "syncLastSource", "syncExternalId", "syncSourceType", "deletedAt", "deletedBy", "deleteBatchId", "linkId_gantt"],
"handling": "Internal provenance, revision, deletion and renderer identifiers are excluded; deletion still governs eligibility."
},
{
"fields": ["showActivities", "showListOnMinicard", "showChecklistAtMinicard", "hideFinishedChecklistIfItemsAreHidden"],
"handling": "Display preferences do not become email content. Discussion selection is controlled by the mail action."
},
{
"fields": ["mapX", "mapY"],
"handling": "Positions on the board's Map view image (#3256), as percentages of that image; they mean nothing without it, so they are not email content."
}
]