How do I require a field before a task can be closed?

Create a task rule in Settings → Workspace features → Task rules. Choose where it applies and which status group it guards, add a check such as "Pull request is not empty", and set it to Block. Tasks missing the field can't move there until it is filled in.

Plan
All plans
Who
Workspace admins
Where
Settings›Workspace features›Task rules

A task rule checks a task when it moves into a status group, and either stops the move or lets it through with a reminder. A common one: a bug can’t be closed until it has a pull request link and a root cause.

Create a rule

  1. Go to Settings → Workspace features → Task rules and select Add rule.
  2. Give it a Name, for example Closing a bug.
  3. Under Applies to, choose the entire workspace or a space, folder or list.
  4. Under When status enters, pick the groups it guards: To do, In progress, Done or Closed.
  5. Under For, choose every task type or only some, for example only bugs.
  6. Under Checks, pick a field and a condition, choose Block or Warn, and write the message people will see. Select Add check for more; all of them must pass.
  7. Select Create rule. It applies straight away.

The New task rule drawer: name, applies to, when status enters Done or Closed, every task type, and a check that blocks until Root cause analysis is filled in

Block or warn

SettingWhen the check fails
BlockThe task stays where it was, and the person sees your message beside the field that needs filling in.
WarnThe task moves, and the person sees your message as a reminder.

Rules apply wherever a status changes: the task drawer, the list, dragging a card on the board, changing many tasks at once, the iPhone app, and the MCP server.

Turn a rule off

Each rule in the list has a switch beside it. Turning it off keeps the rule so you can switch it back on later. Rules add up: when several apply to the same task, every one of them is checked.

The Task rules list with one rule, Bugs need a root cause before closing, marked Blocks and switched on

Browse help topics