Copy, Move, Link, More, QR code, Create board from card, Drawing, Flow fields, Flowtime and Pomodoro, Planning Poker, Linked cards and Requested/Assigned By follow one structure, checked against the code: Create board from this card is no longer hidden from members who can edit the card, a Pomodoro break ends in ready-to-start rather than the next work interval, a Pomodoro stopped during Work credits the minutes worked, and the timers have their own Board Settings / Card rows instead of depending on Time Tracking. Thanks to xet7 !
6.1 KiB
Flow fields: Blocked, Class of service, MoSCoW, WSJF
What it is
Four Kanban and Scrum practices other tools have, as fields of a card. They
need no AI and no network, and are stored on the card (card.flow,
models/lib/cardFlow.js). They say what stops
a card, how urgently it is served, how much it is needed and which card gives
the most value soonest.
| Field | What it is |
|---|---|
| Blocked | The card is impeded. Tick it and say why; WeKan keeps who marked it and since when. The minicard shows a red Blocked badge, with the reason as its tooltip. This is the Kanban impediment, kept on the card that waits. |
| Class of service | Standard, Fixed date, Expedite or Intangible (the Kanban Method's classes). Expedite has a WIP limit of one: only one open card of a board can be Expedite at a time, and a second one is refused until the first is done (its due date marked complete) or archived. |
| MoSCoW priority | Must have, Should have, Could have, Won't have. |
| WSJF score | Weighted Shortest Job First: business value, time criticality and risk reduction - the cost of delay - divided by the job size, each scored 1, 2, 3, 5, 8, 13 or 20. The score is shown once every part is set. |
Read more
- Kanban (development) on Wikipedia - impediments, classes of service and WIP limits.
- MoSCoW method on Wikipedia.
- Cost of delay on Wikipedia, and WSJF in the Scaled Agile Framework, whose scale WeKan uses.
- In WeKan: Card Settings, Admin Panel / Settings / Features.
How to use it
Showing them - all four are off until a board turns them on:
- Open Board Settings / Card, section Card. Each field has a row (Blocked, Class of service, MoSCoW priority, WSJF score) with its Show on Minicard and Show on Card checkboxes, after Dependencies, and is moved within the section like any other row.
- Tick Show on Card to edit it on the opened card, Show on Minicard to see it on the minicard.
- Admin Panel / Settings / Features / Card fields: unticking a field hides it on every board of the instance, whatever the boards chose. Nothing is deleted - ticking it again shows every card as it was.
Using them on a card
- Open the card. In its Card section:
- Blocked: tick the checkbox and type the reason (up to 1000 characters). The row then says since when and by whom. Untick it when the card can move again; the reason, the time and the person are cleared.
- Class of service and MoSCoW priority: choose from the list;
-clears it. - WSJF score: choose a value for each of the four parts; the score appears beside the heading once all four are set.
Who may change them
Whoever may edit the card. An assigned-only member changes them only on a card
assigned to them (or of which they are a member). A linked card shows, and
changes, the flow of its source card. The values are written by the server
method setCardFlow, which checks the values; a direct client write of flow
is refused, so who blocked a card and when are always the server's.
How the numbers are calculated
From models/lib/cardFlow.js:
- WSJF score = (business value + time criticality + risk reduction) / job
size, rounded to one decimal (
wsjfScore). Each part must be one of 1, 2, 3, 5, 8, 13 or 20 (the modified Fibonacci scale); until all four are set the score is empty. Example: (8 + 5 + 3) / 2 = 8.0. - Expedite WIP limit = 1 per board (
EXPEDITE_LIMIT). Making a card Expedite is refused (expedite-limit) when another card of the same board is Expedite, not archived and not done (dueCompletenot set) (expediteOverLimit). A card that already is Expedite is not checked again. - Blocked reason: at most 1000 characters (
MAX_REASON), trimmed. - Blocked since: the server's time when the card was marked blocked
(
flow.blockedAt).
How it works in WeKan
- Model (pure): models/lib/cardFlow.js -
the allowed values,
flowModifier(turns a change into a Mongo modifier and refuses anything else),expediteOverLimitandflowView(what the card and minicard draw). - Server:
setCardFlowin server/lib/cardFlowMethod.js resolves a linked card to its source, checkscanEditCardOrLinkedCardand the assigned-only scope, applies the Expedite limit, and writesflow. - Client: client/components/cards/cardFlow.jade
and client/components/cards/cardFlow.js
(the rows of the opened card), the minicard badges in
client/components/cards/minicard.jade. - Settings rows:
blocked,classOfService,moscowandwsjfin models/lib/cardSettingsRows.js, board fieldsallowsBlockedOnCard,allowsBlockedOnMinicardand the like, allfalseby default. - Fields:
flow.blocked,flow.blockedReason,flow.blockedAt,flow.blockedBy,flow.classOfService,flow.moscow,flow.wsjf.*, andflow.splitDoneListIdused by lists split into Doing and Done.
Tests: tests/cardFlow.test.cjs and the Playwright spec
card-flow-fields.e2e.js.