# 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 and or then else | affectsversion blocked coowner coreviewer fixversion nextaction owner reviewer state <card_id>.<any_of_above_attributes> | affectsversion blocked coowner coreviewer fixversion nextaction owner reviewer state <card_id>.<any_of_above_attributes> | = != >= <= is in nin | populated unpopulated defined undefined true false <list> <int> <string> <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.