Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Boards>Tri-State Switch
Tri-State Switch

Tri-State Switch

viernes automation

|
1 install
| (0) | Free
A True / False / Unset switch for work item fields. Lets you make a yes/no question required, which a Boolean field cannot do.
Get it free

Tri-State Switch

A work item form control that looks like the built-in toggle but has a third state, Unset:

State Switch Stored value
Unset short bar in the center empty
True round thumb right, accent track True (configurable)
False round thumb left False (configurable)

Each click cycles Unset → True → False → Unset.

Azure DevOps Boolean fields always hold True or False (new items default to False), so marking one Required has no effect. This control uses a picklist (string) field instead. The field can stay empty, so Required really forces people to choose, and the form still looks like a toggle.

Use

  1. Create a Picklist (string) field with the items True and False. Tick Required. Leave the default value empty.
  2. On the work item type, choose Add custom control → Tri-state switch, and pick that field. Place the field in the same group as the switch, so the group header shows the red dot while it's unanswered.
  3. Optional: change the stored values (e.g. Ja / Nein) and the "Unset" text in the control options.

Required indicator

While a required switch is still Unset, the control marks it itself (Azure DevOps doesn't draw its own marker for custom controls). Choose the style with the Required indicator option:

Option Look
icon (default) a red "!" circle after the text, matching Azure DevOps' own field marker
dot the center bar of the switch becomes a small red dot

Keyboard: Space or Enter cycles like a click.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft