Rules
*****

One or more rules, upto a maximum of ten, can be added to an individual card on the kanban board. Sample rules might be:

+-------------------------------------------------+
|Rule                                             |
+=================================================+
|if state = "backlog"                             |
|and Kanbanara-24.state = 'backlog'               |
|or state in ["defined", "analysis"]              |
|and Kanbanara-24.state in ["defined", "analysis"]|
|then state = 'development'                       |
|and Kanbanara-24.state = 'development'           |
|else state = 'defined'                           |
+-------------------------------------------------+
|if state = 'unittesting'                         |
|and reviewer is unpopulated                      |
|then reviewer = 'fred.blogs@acme.com'            |
+-------------------------------------------------+



+----------+-------------------------------------+-------------------------------------+-------+-------------+
|Keywords  |Condition Attributes                 |Action Attributes                    |Operand|Values       |
+==========+=====================================+=====================================+=======+=============+
|- if      |- affectsversion                     |- affectsversion                     |- =    |- populated  |
|- and     |- blocked                            |- blocked                            |- !=   |- unpopulated|
|- or      |- coowner                            |- coowner                            |- >=   |- defined    |
|- then    |- coreviewer                         |- coreviewer                         |- <=   |- undefined  |
|- else    |- fixversion                         |- fixversion                         |- is   |- true       |
|          |- nextaction                         |- nextaction                         |- in   |- false      |
|          |- owner                              |- owner                              |- nin  |- <list>     |
|          |- reviewer                           |- reviewer                           |       |- <int>      |
|          |- state                              |- state                              |       |- <string>   |
|          |- <card_id>.<any_of_above_attributes>|- <card_id>.<any_of_above_attributes>|       |- <float>    |
|          |                                     |                                     |       |- <bool>     |
+----------+-------------------------------------+-------------------------------------+-------+-------------+

A card's rules are automatically triggered (if more than an hour since their last firing) whenever a kanban board containing that same card is displayed or refreshed. A card’s rules can be triggered immediately by clicking on 'Execute Rules' within a card’s menu.
