needs-unblock and ask what it waits on.” “When a card has sat in In progress for seven days and has no long-running label, remind everyone on it.”
Free plan
Rules are part of the ops board, which every plan includes. Organization admins write rules under Settings, Board rules, which is also linked from the board’s header and from Settings, Preferences. Every run of every rule is listed with what each step did and why, so a card that changed on its own is never a mystery.
A rule can do what an administrator could do by hand on the board, through the same changes, and nothing else. It cannot page anyone, post to Slack on its own, call a webhook, change a repository or reach another organization.
The shape of a rule
A rule has:- A name of 1 to 80 characters, unique without regard to case, and an on and off switch.
- One trigger.
- 0 to 10 conditions that must all hold.
- 1 to 5 actions, run in order.
Triggers
The first three read the card’s activity feed, which every board change writes. A card created with labels fires “label added” for each of them. A label added to a card fires the trigger whether a person added it on the card page, in the new card form, over MCP, from Slack or through the API. It does not fire when a label is renamed or removed on every card at once, for cards a CSV import or a tracker sync brings in, or for a label a tracker puts on a card. Labels are matched without regard to case, so
Security and security are one label. A move inside one column, a reorder, is not a move.
The last three are checked by a tick every 15 minutes, over the cards of organizations that have a rule about time. Due dates are judged in the organization’s time zone, or UTC when none is set. A card that leaves the column and comes back starts a new stay. A due date moved to another day starts a new occurrence.
Rules about time act on what comes to meet them
A rule that fires on every card already late or already waiting could change a whole board the minute it is saved. So a rule about time, which means a stay in a column, a due date near or a due date passed, acts only on cards that come to meet its condition after the moment it was saved, switched on, or had its trigger changed. A card that already sat in In progress for 8 days when you made a 7 day rule is left alone. A card created with a past due date after the rule was saved, or whose due date is edited to meet it, is acted on. The builder shows how many cards match right now, with the trigger and the conditions together. It judges the oldest 2,000, so a bigger number reads “at least”. Beside it, Also act on the cards that match now is unticked by default for a new rule. Ticked, on any save, the rule works through those cards over the following hours, 50 at a time. A rule that already acts on every card shows the box ticked when you edit it, and unticking it makes the rule count from that save. Over MCP and the configuration API the same choice isapply_to_existing: true acts on the cards that match now and false counts from the save. Leaving it out on an update changes nothing unless the trigger changes or the rule is switched on.
When several rules have a backlog, they take turns: the rule that acted longest ago goes first, so one rule does not hold the rest back.
A rule about time never judges a card twice for one occurrence. A card it acted on is not acted on again for that stay or due date, and a card whose conditions did not hold is judged again only after the card changes.
Conditions
All the conditions of a rule must hold, read off the card as it is when the rule runs.Actions
Each action is made through the same change a person would make on the board. Actions run in order, and each one reads the card as the last one left it.
A rule that would move a card to the column it just moved to, or that sets a label the card already has, is refused when you save it or answered “nothing to change” when it runs. A rule’s name, comment, note and checklist item that look like a credential are refused, never rewritten. Text you write in a rule is the team’s own. A model that later reads the card reads it as evidence, never as instructions.
What a rule tells people
A rule notifies nobody by itself, with two exceptions that are the point of those actions. An assignment a rule makes tells the person assigned exactly as the same assignment by a person would. A reminder a rule sets reminds the people on the card when it is due. Every other action, which means a comment, a move, a label or priority change or a checklist item, sends no activity notice by email, no Slack line and no mention. A rule’s comment is pushed to the tracker the card is synced to like any card comment, and the tracker tells its own watchers as it does for a person’s comment. A rule’s move is pushed to the tracker like a person’s. The card’s history reads “Board rule:” followed by the rule’s name. A move into a column that a card’s alert Slack thread announces is not announced when a rule made it. Card events. If your organization sends card events to a webhook, a rule’s changes are events like any other. The receiver sees the platform acting for the rule, with"kind": "system", "origin": "rule" and the rule’s name. They count in the hourly limits of the webhook, not in the rule’s.
Bulk changes. A change made to many cards from the board table is the same change made to each card, so rules fire for every card as they would for a single change. They count in the organization’s hourly rule budget like any other, and a change of 200 cards can use a third of it. What passes the hour’s budget waits for the next hour, for at most six hours.
The bounds that keep rules from running away
- Once for each card and occurrence. A rule claims a run before it acts, unique for the rule, the card and the occurrence. A retried job, a second server and a second tick act on nothing twice.
- At most three runs an hour for one rule on one card. The fourth is stopped and recorded once, and further ones in the hour write nothing.
- Depth and loops. What a rule’s own change causes can fire other rules, three rules deep at most. A rule already in the chain is not run again. If rule A moves a card to Triage and rule B moves it back to To do, the run log says “A, then B, then A again: stopped so the rules do not undo each other”. Stopped and skipped runs of the same rule, card and reason are one row with a count for each hour.
- The hour’s budget for an organization: 600 runs for rules that react to a change and a separate 200 for rules about time, so a backlog of overdue cards never holds back the rules that react to changes. A change that arrives when the hour’s runs are used up waits and is run when the hour allows. A change waits at most six hours. Older changes are passed without acting, and the page says how many of them a rule would have acted on.
- A short wait before a rule hears a change. A rule reads a change about five seconds after it is made, so a burst of edits is one read. Each step of a cascade waits for the next read, so a loop is stopped after a few minutes at most.
- At most once. A run that dies half way, for example in a restart, is ended “failed, it stopped before it finished” and is never retried. What it had done stands.
When something a rule names is gone
Nothing raises and nothing is retried. Each action that cannot act is a step with a reason, and the run is “partly done”. Examples are a person who left the organization, an on-call schedule with nobody on call or only a guest, a team, schedule or template that was deleted, and a label that is not on the card. A card archived or deleted before the rule ran skips the whole run. The page marks a rule whose saved person, team, schedule or template no longer exists, so you can edit it.Giving a card to SRE Agent
The action is available in organizations whose plan includes SRE Agent on cards. A card a rule matched can carry text nobody in your organization wrote, from a webhook, a tracker import or an alert. So a run a rule starts only suggests, whatever the card setting says. It writes its plan on the card and waits until a member accepts the plan or runs one of its steps. Until then a card the rule handed over is only planned, never worked.- The card’s history and the SRE Agent panel on the card name the rule that gave it.
- The card’s title, description and earlier comments reach the model only as outside text that describes the work and never directs it, for the whole run. The panel says the plan was drafted from untrusted text until a member accepts it.
- The run acts with the permissions of the administrator who last saved the rule, read again at every step. If that person stops being an administrator, the action is refused. A rule saved with an API key has no person, so it cannot give cards to SRE Agent until an administrator saves it.
- A run that only suggests still plans. It reads the card and calls your organization’s AI provider, with that administrator’s read access and against your organization’s AI budget, for every card the rule matches, within the rule’s hourly bounds.
Who may write rules
Organization admins, and API keys that holdmcp:admin (MCP) or api:admin (configuration API). The page and the three read tools are for administrators too. A member or a viewer cannot open the page or read rules and runs over MCP, and a key that holds only mcp:read cannot either. A support session can read the page and can never create, edit, switch or delete a rule.
Your role is read again at the moment of the write, so a person demoted after they opened the page cannot save. Saving, switching and deleting are in the audit log with the kinds of the trigger, conditions and actions, never the rule’s name or its text.
The run log
Under each rule, Last runs lists the newest 50: the time, the card, the outcome (done, partly done, skipped, stopped or failed), why in words, how many times the same thing was met again that hour, the chain of rules for a loop, and a line for each action with what it did. A run holds ids, kinds and reason codes, never card, label or comment text. Runs are kept 30 days. Above the list the page says how many of the hour’s runs are used, whether a change is waiting for the hour’s budget, and how many changes the six hour limit passed.MCP tools and the configuration API
list_board_rules, get_board_rule and list_board_rule_runs read. create_board_rule, update_board_rule and delete_board_rule write, and the delete takes confirm: true. All six need an organization admin or an mcp:admin key. The configuration API serves the same rows at /api/v1/config/board_rules with an ETag for updates. Creating or updating a rule about time answers cards_matching_now and accepts apply_to_existing. Terraform does not manage board rules.
Limits at a glance
Related
- Plan the work on a card: the checklist a rule can add to.
- Start cards from templates and open them on a schedule: templates a rule can apply.
- SRE Agent on cards: what happens after a rule gives a card away.
- Reminders on the ops board: the reminder a rule sets.