Version 7 (modified by jguerra, 11 years ago) (diff) |
---|
Dirección de Sistemas Académicos de Centro de Cómputos
Procesos Documentados:
KanbanBoard macro error: First line of data not found
Usage:
{{{ #!KanbanBoard height=400px { "columns": [ { "id": 1, "name": "New", "states": ["new"], "tickets": [100, 124, 103], "wip": 5 }, { "id": 2, "name": "Ongoing", "states": ["assigned", "accepted", "reopened"], "tickets": [], "wip": 3 }, { "id": 3, "name": "Done", "states": ["closed"], "tickets": [], "wip": 5 } ], "fields": [ "status", "priority", "keywords" ] } }}}
Macro accepts following arguments given as 'key=value' pairs right after macro name:
Key Description Example Default height Board height in css-accepted format height=400px 300px
Macro name and optional arguments must be followed by board configuration. Configuration is in JSON format and consists of list of columns and optionally list of ticket fields. Each column must have following properties:
id Unique number name Column name states List of ticket states which map to this column. For example in example configuration above if the status of ticket #100 changes to "accepted" it moves to middle column (named "Ongoing"). If ticket is dragged to middle column its status changes to first state on this list ("assigned"). tickets List of initial tickets in the column. This list is updated by the macro when ticket status changes wip Work-in-progress limit for the column
The "fields" property defines which ticket fields are shown on the ticket detail dialog. Valid field names on default Trac environment are: "reporter", "owner", "status", "type", "priority", "milestone", "component", "version", "resolution", "keywords" and "cc".