From a card's Custom Fields menu, "Link fields to another card" links it to another card by a pasted card link or a title search, both ways or one way (this card sends to a main card). Fields match by name and type; a dropdown value is carried by its item name, a multi-select only when the other field has every item, and fields on one card only (such as Remarks) stay there. Linking fills only the other card's empty matching fields once. A link is held on both cards and counts only when both sides match. Linking needs read and edit rights on both cards; a card the user cannot read is "not found". A carried value is written as the link's creator, recorded in Activities and History, and only while that user may still read and edit both cards; admin-only fields never take part. A loop guard stops echoes and rings, with a depth limit and a write budget per change. A copied, imported or restored card starts unlinked, a deleted card's links are removed from the others, and a direct client write of the links is refused and trips a canary. The new strings are in English in every locale, pending Transifex. Thanks to MarcusDger and xet7 ! Fixes #5681.
3.1 KiB
To translators, about the word Custom
See other feature for description of Custom Customize Translations
1) Click: Board hamburger menu / Custom Fields
2) Click: Create Field, add details and Save
3) Click: Card Details hamburger menu / Edit custom fields
4) Click: Your Custom Field name to insert it to Card
5) Click: Your selection from your Custom Field
6) Custom Field is shown at Minicard and Card Details
String Template variables
A String Template formats each nonempty value entered on the card, then joins those results using the field's separator. The same format appears on minicards and in card details. Available variables are:
| Variable | Value |
|---|---|
%{value} |
The current item entered in this custom field |
%{card.title} |
Card title |
%{board.title} |
Board title |
%{list.title} |
List title |
%{swimlane.title} |
Swimlane title |
Names are case-insensitive. The spelling {%card.title} (percent sign inside
the braces) also works. Titles and formats update while the card is open.
Linked cards use their source card's context, just as they use its custom-field
values. Unknown variables or unavailable context remain literal text. These
variables do not expose arbitrary document properties or other custom fields.
Append |urlencode to encode a value as a URL parameter. For example, a label
printer link can use this format:
[Print label](https://printer.example/print?label=%{value|urlencode}&card=%{card.title|urlencode}&lane=%{swimlane.title|urlencode})
Spaces, Unicode and characters such as &, # and ? are encoded within each
parameter, rather than changing the URL's structure. The normal Markdown viewer
still handles links and sanitization. Variable contents are substituted once;
text inside a card title is never evaluated as another template.
The existing regular-expression replacement applies to the current item and can be mixed with the variables:
${"regex":"^([A-Z]{2})-(.*)$","flags":"i","replace":"$1 / $2"}
Invalid regex definitions remain visible instead of preventing card rendering.
This is the Custom Fields String Template feature requested in
#3815; Rules action templates use
their separate {card}, {board} and other rule variables.
To copy field values between two cards, for example from each worker's card to a main card on another board, see Linked custom fields.