Share via


Customize cards on a Kanban board

TFS 2017 | TFS 2015

With the Kanban board, you gain a rich set of tools and a rich set of customization options. Kanban boards display work items as cards. Each card corresponds to a work item that you use to share information, track status, and assign work. Information rich cards provide at-a-glance info of interest to you and your team and allow you to update a field without opening the work item. With style rules, you can highlight cards and tasks based on the criteria you set.

The bug work item type in this example shows all the core fields, three more fields, and tags. Also, to make severity 1 bugs stand out, a styling rule causes the card to display as yellow.

Card customize to show additional fields, tags, and style rule

Note

This article addresses customization of a Kanban board. For information on customizing a Taskboard, see Customize sprint Taskboards.

You can either increase or simplify the information that displays on your cards. It all depends on what's of interest to your team.

  • Does your team like to refer to work items by their ID?
  • Do they want to see estimates?
  • Do they want to highlight work items according to set criteria?
  • Or, will just the bare bones of title and assignment suffice?

Your best bet is to show fields on cards based on what your team frequently refers to or updates when using the Kanban board. Also, add fields with information that you can use to filter the board.

Note

You can customize a work item type which is different than customizing the card displayed on the Kanban board. You customize a work item type by adding fields, changing the workflow, adding custom rules and more. You can also add custom work item types and custom backlog levels. For details, see Customize the On-premises XML process model.

Prerequisites

  • You must have a Kanban board you want to configure. When you add a team, you add a Kanban board for that team. To learn more, see About teams and Agile tools.
  • To configure team settings, you must be added to the team administrator role or be a member of the Project Administrators security group. To get added, see Add a team administrator or Change project-level permissions.
  • Users assigned Basic access or higher can exercise all backlog and board features.
  • Users assigned Stakeholder access have limited access to backlog and board features. Stakeholders can edit work items on the board and add existing tags to a work item. They can't add work items to a board, can't drag-and-drop work items to update status or reorder cards, and can't update fields displayed on cards. For details, see About access levels.

Card customization options

Once you open the Settings dialog for the Kanban board, choose one of the following tabs to set your customization options.

Settings tab

Use to...


Add or remove fields from cards.

Add styling rules to change card color and title style based on field criteria.

Specify a tag color, and enable or disable a tag color.

Choose expected behavior when reordering cards on the board.


Note

Each team can customize the cards for their Kanban board. Board settings are not inherited from other teams that they may share portions of area paths.

Card customization sequence

Before you configure the cards, you'll want to make sure the following tasks are complete as possible. Otherwise, you'll find yourself revisiting your configuration.

Process Administrator:

  1. Add custom work item types that you want to appear on your backlog or board. For details, see Add and manage work item types.
  2. Customize your product and portfolio backlogs to ensure all work item types you want to have will appear on the backlogs and boards. For details see Customize backlogs & boards.
  3. Customize each work item type to have any custom fields you want to show. For details, see Customize a workflow.

Team Administrator:

  1. Meet with your team and determine how the team wants to manage bugs, similar to requirements or tasks.
  2. Add any tags you want to customize on cards to work items.
  3. Meet with your team and determine which annotations should appear on cards and how they want to configure inline tests.

Open your Kanban board settings

If you're not a team admin, get added as one. Only team and project admins can customize the Kanban board.

You can customize cards that appear on the Kanban board for your product backlog or portfolio backlog such as features and epics. You follow similar steps, however you start from the corresponding portfolio backlog.

  1. Open your Kanban board.

  2. Choose the backlog level you want to customize.

  3. Choose settings icon to open the common configuration settings dialog for the Kanban board.

    Kanban board, open common configuration settings.

  4. When done with your changes, choose Save.

Choose which fields appear on cards

By showing a field on a card, you can edit that field directly on the board without having to open the card, unless it's a read-only field, such as the Change By and Changed Date fields. This quick update feature is useful when you need to update many work items at once. For example, you can add estimates for backlog items on the Kanban board.

To change the Title, choose the pencil icon in the upper-right corner.

As a first step, you'll see that you can determine which fields appear on each card type. To add a custom field, you must first add it to the work item type definition.

  1. From the Settings dialog, choose Fields and then a work item type to see all the settings you can modify. Your initial column settings will look something like this.

    Here we choose User Story. Your choices will vary based on the process used to create your project and whether your team has chosen to treat bugs like requirements or like tasks.

    TFS 2015.1 options:
    TFS 2015.1 Kanban board, card customization dialog

    TFS 2015 options:
    Kanban board, card customization dialog

  2. Place a check mark in the check box for those fields you want to have appear on the board.

    If you want work estimates to show, check Show Effort or Show Cost. These options will cause the following fields to appear based on the respective process: Effort (Scrum), Story Points (Agile), and Size (CMMI).

  3. To add a field, choose the plus icon and enter the name of a field you want to add.

  4. To remove a field, choose the delete icon next to the field.

  5. When done with your changes, choose Save.

Define style rules to highlight cards

With styling rules, you can cause cards to change color when their corresponding work items meet criteria that you set. Here, we highlight severity 1 bugs by having the cards display as yellow.

This feature requires TFS 2015.1 or later versions.

Styling rule applied to bugs with Severity=1

Examples of styling rules

What rules should you apply to highlight work items? Here are a few examples and their associated criteria.

Work items Criteria
High priority items Priority = 1
High effort items Effort 20 or Story Points 20
Stale items unchanged in the last 5 days Changed Date @Today-5
Title contains a key word Title Contains Yes
Severity 1 bugs Severity = 1 - Critical AND Work Item Type = Bug
High value business items Business Value 50
Items assigned to specific feature area Area Path Under Fabrikam Fiber\Phone
Contains specific tag Tags Contain RTM
Blocked tasks (Scrum process only) Blocked = Yes

You can apply style rules to change the color of cards on Kanban boards and taskboards.

  1. From the Settings dialog, choose Styles to specify a style rule. Choose the plus icon to add a style. Select the color to apply to the card and define the criteria for the style rule.

    In this example, we show the Styles dialog for the dashboard.

    Settings, Styles dialog.

    Follow these rules when creating and ordering your style rules:

    • The criteria you specify works in a similar fashion as when constructing a query

    • All clauses are considered AND clauses, grouping clauses isn't supported

    • Card rules apply to all work items that meet the rule criteria

    • Rule color applies to work items based on the order in which rules are listed. If you add more than one style rule, make sure that you move them in the order of most importance. Drag them into the order you want them applied.

    • You can quickly enable and disable a style rule.

      Here we add a Stale tasks rule that highlights tasks that haven't changed in the last five days.

      taskboard, Style dialog, example style rule.

  2. To copy or delete a style rule, choose the actions icon and select Clone or Delete.

  3. When done with your changes, choose Save.

Assign a color to a tag

Before setting tag colors, add tags to backlog items that you want to highlight with color.

Requires TFS 2015.1 or later version.

  1. From the Settings dialog, choose Tag colors and then choose the plus icon to add a tag color. Then, select the tag and the color you want to appear on the cards.

    Settings, Tag colors dialog (Kanban), TFS 2015.

    Tip

    If tags don't display on the cards, choose Fields and make sure that you've checked Show Tags.

  2. When done with your changes, choose Save.