Color Picklist: colored picklist control for work item fields
Show a field with a list of values (Risk, Priority, Severity, or a picklist of your own) as colored options on the work item form. The chosen value is filled with its color, so a High risk stands out in red and a Low one reads green at a glance. Click an option, or use the keyboard, to set the field. Free.
It takes over from Microsoft's "Color picklist control" (DevLabs), deprecated in December 2024, and reads that control's settings as they are.
On the work item
- Every value of the field is an option. The chosen one is filled with its color, with a check mark and black or white text, whichever is readable on that color (WCAG AA).
- Click an option to choose it. Clear (it appears when you point at the control) empties the field. The form saves the field with the work item, as it does for its own controls.
- Keyboard: Tab reaches the field, arrow keys move and choose, Home and End jump to the first and the last value, Space chooses, Delete clears.
- Follows the form: a change made elsewhere on the form, Undo, Refresh and Save; read-only work items; the values that rules allow; and fields that rules make required ("Required" shows while the field is empty).
- Nothing disappears. A value added to the field later shows without a color until you give it one. A current value that is not in the list (an old value, or one typed into a suggested picklist) still shows, with a dashed border.
- Light and dark themes, Windows high contrast and screen readers (a radio group that reads each value and its label).
With an inherited process (Azure DevOps Services, and Azure DevOps Server with inherited processes):
- Install Color Picklist in your organization.
- Go to Organization settings > Boards > Process, open your inherited process (the system processes Agile, Scrum, CMMI and Basic cannot be changed: create an inherited one from them first), choose the work item type, for example User Story, and open Layout.
- In a group, open its menu (...) and choose Add custom control. Pick Color Picklist.
- On the Options tab, type the Field: its name (
Risk) or reference name (Microsoft.VSTS.Common.Risk). It must be a field of this work item type with a list of values; add a new field with New field first. Colors, Labels and Layout are optional (below).
- On the Layout tab, give the control a label, for example Risk, and save.
- Optional: hide the field's standard control (its menu, Hide from layout) so the field shows once.
- Open a work item of that type: the field shows as colored options.
With an on-premises XML process (Azure DevOps Server), add the extension and a ControlContribution to the work item type definition, then import it with witadmin importwitd:
<Extensions>
<Extension Id="ikcasepilot.color-picklist" />
</Extensions>
...
<ControlContribution Label="Risk" Id="ikcasepilot.color-picklist.color-picklist-control">
<Inputs>
<Input Id="FieldName" Value="Microsoft.VSTS.Common.Risk" />
<Input Id="Colors" Value="High=red;Medium=orange;Low=green" />
</Inputs>
</ControlContribution>
Colors, labels and layout
Colors, by value: High=red;Medium=orange;Low=green
- Pairs of value and color, separated by
;. A value may leave out the number the stock processes put in front: High is enough for 1 - High. Values are matched without regard to case.
- A color is a name (
red, darkorange, any of the 148 CSS names), a hex code (#d13438, #d34, also without the #) or rgb(209, 52, 56).
- A value without a color shows without one. A color that cannot be read is skipped the same way (the browser console names it).
- Or, as Microsoft's control had it, one color per value in the field's order:
red;orange;green (number fields in numeric order). An empty entry (red;;green) leaves a value without a color.
- Leave Colors empty for a scale from red to green in the field's order, up to seven values.
Labels follow the same two forms: High=Likely to slip;Low=Well understood, or Likely to slip;;Well understood. A label shows after its value, and screen readers read it with the value.
Layout: chips (the default, values side by side) or list (one value per line, for long labels).
Lists by value are the safer choice: when someone adds a value to the field, or the field's order changes, every color stays on its value. A value or label cannot contain ;.
Why the field is typed, not picked: a field picker in a custom control's options makes Azure DevOps save the field again on the work item type when the control is saved. For a field such as Risk or Priority that copy can come with an empty list, so the standard field shows "No items found" and work items report that their value "is not in the list of supported values". With a typed name, adding or removing Color Picklist never changes a field or your process. If a field lost its values that way (with any custom control), the layout cannot bring them back: for Risk or Priority the field's menu offers only Edit and Hide, and the field's options have no list to edit. A process admin can set the list again with the process REST API, PATCH https://dev.azure.com/{organization}/_apis/work/processes/{processId}/workitemtypes/{workItemTypeRefName}/fields/{fieldRefName}?api-version=7.1 with a body such as {"allowedValues": ["1 - High", "2 - Medium", "3 - Low"]} (Risk in the Agile process) or {"allowedValues": ["1", "2", "3", "4"]} (Priority). A DELETE on the same address marks the field as not customized again, but in our test organization it left the work item type with no list at all, so set the values.
Moving from Microsoft's Color picklist control
- Install Color Picklist and add it to the layout next to the old control.
- Copy the old control's FieldName (the reference name it stored, such as
Microsoft.VSTS.Common.Priority), Colors and Labels into the new one as they are: the option ids are the same, and both list forms work.
- Check a work item, then remove the old control.
What is different: a value without a color shows without one (the old control picked one for it); a current value that is not in the list still shows; the field can be cleared; read-only and required fields are shown as such.
Private by design
Color Picklist works in your browser, inside the work item form. It reads the field, its allowed values and the form's validation through the work item form, and sets the field there; the form saves it with the work item. It calls no Azure DevOps REST API and sends nothing to IK Lab or anyone else. It asks for no permissions (no scopes), because the work item form gives it everything it needs.
Requirements
Azure DevOps Services, or Azure DevOps Server 2020 and later. Inherited processes (in the layout editor) and on-premises XML processes. A field with a list of allowed values, text or whole number.
Free Azure DevOps extensions from the same team. Like this one, each runs in your browser and sends nothing to IK Lab or anyone else.
Work items
- Checklist: a checklist on every work item, with Definition of Done templates.
- Tags Manager: rename, merge and delete work item tags across the project.
- Print Work Items and Cards: print work items in full or as cards for a physical board, or save them as PDF.
Boards and planning
- Roadmap: epics and features across sprints, placed by where their stories are planned.
- Roll-up Board: features or epics in columns by state, with the progress of their stories.
- Sprint Goals: each team's sprint goal on the sprint page and on a dashboard.
- Decompose: break a work item into children by typing an outline.
- Board Settings Copier: copy a team's board columns, swimlanes, card fields and styles to other teams.
Testing
Dashboards
Code and pipelines
Also from IK Lab
- Borsch: test cases, bug reports and story rewrites drafted with AI from a work item. Unlike the free tools above, it sends the work item's text to IK Lab's service to draft them.
Every IK Lab tool on one page: iklab.dev/tools.