Skip to content

Latest commit

 

History

History
142 lines (88 loc) · 8.17 KB

File metadata and controls

142 lines (88 loc) · 8.17 KB
title Add a Custom Field to an Inherited Process
titleSuffix Azure DevOps Services
description Learn how to add a custom field to the web form of a work item type for an Inheritance process model and apply it to a project.
ms.custom inherited-process
ms.service azure-devops-boards
ms.assetid D6616411-43D4-4A81-8951-772D98BD1569
ms.author chcomley
author chcomley
ms.topic quickstart
monikerRange <= azure-devops
ms.date 08/13/2025

Quickstart: Add a custom field to a work item type (Inheritance process)

[!INCLUDE version-lt-eq-azure-devops]

In this quickstart, you add a custom field to support tracking data requirements that aren't met with the existing set of fields. For example, you can add a custom field to track a customer ticket number. For a list of all fields defined for your organization, which includes all fields defined for system and inherited processes, see List work item fields and attributes. For a description of each field defined with a system process, see Default and work item fields used in process templates.

[!INCLUDE temp]

For more information, see About process customization and inherited processes.

Tip

To customize a single project, always start by creating an inherited process and updating your project to that process. Then, all the customizations that you make to the inherited process automatically appear for the project you migrated.

Prerequisites

[!INCLUDE temp]

[!INCLUDE temp]

Create inherited process

For more information, see Create an inherited process.

Add a field

Follow these steps to add a field to an existing work item type. You can't use the Steps control on a custom work item type (WIT) based on the Test Case work item type.

  1. From the Process page of the selected inherited process, choose the work item type you want to add the custom field to.

    This example uses the Bug WIT. The breadcrumb links allow you to move back to the All Processes and MyAgile process page.

    :::image type="content" source="media/field/breadcrumbs-bug-wit.png" alt-text="Screenshot shows the process page for MyAgile, showing a bug.":::

    If the New field and other options are disabled, you don't have the necessary permissions to edit the process. See Customize an inherited process.

  2. With the WIT selected, select New field.

    :::image type="content" source="media/field/bug-new-field.png" alt-text="Screenshot shows the process page for a WIT with New field highlighted.":::

  3. Name the field and select the field type from one of the supported data types. Field names must be unique and no more than 128 characters. For other restrictions, see What is a field? How are field names used? Optionally, add a description.

    [!NOTE] Once created, you can't change the field name or data type.

    This example adds an Integer field labeled Customer Ticket.

    :::image type="content" source="media/process/cpfield-add-field-to-bug-type-integer-up1.png" alt-text="Screenshot shows the Create a field option for a Bug.":::

    Other data types you can add include: Picklist, Identity, Rich-text, HTML, and Checkbox.

  4. (Optional) On the Options tab, indicate if the field is required. Specify a default value.

    :::image type="content" source="media/process/cpfield-bug-customer-ticket-options.png" alt-text="Screenshot shows the Options page where you can make the field required and specify a default value.":::

    If a field is required, users must specify a value for the field in order to save it. The default value you specify is set when you create a work item and every time a work item is opened and the field is empty.

  5. (Optional) On the Layout tab, you can enter a different form label than the name of the field. Also, you can choose the page and group where the field appears on the form.

    This example adds the Customer Ticket field to a new group labeled Customer focus.

    :::image type="content" source="media/process/cpfield-customer-ticket-layout.png" alt-text="Screenshot shows the Layout page where you can specify how the field is displayed.":::

  6. Choose Add field to complete adding the field. If you don't specify its layout location, it's added to the first group of fields on the layout form.

    [!TIP] After you add a field, you can drag-and-drop it within a page to relocate it on the form. If you have several fields you want to add to a custom page or group, add those elements first and then add your fields. You can't add a field to the gray area within the form where the Assigned To, State, and Reason fields are located.

Verify the customization you made

We recommend that you create a test project and apply your customized inherited process to it to verify the changes you made.

  1. Open the All processes page, and choose the ... context menu for the process you want to use. Then select New team project.

    ::: moniker range="azure-devops" :::image type="content" source="media/process/new-team-project-from-inherited-process-menu.png" alt-text="Screenshot shows the create a project option for a selected process."::: ::: moniker-end ::: moniker range="<azure-devops" :::image type="content" source="media/add-custom-field/choose-new-team-project.png" alt-text="Screenshot shows the create a project option for your modified process."::: ::: moniker-end

  2. The Create new project page opens. Fill out the form.

    ::: moniker range="azure-devops" :::image type="content" source="media/process/create-test-project-sprint166.png" alt-text="Screenshot shows the Create new project form."::: ::: moniker-end ::: moniker range="<azure-devops" :::image type="content" source="media/add-custom-field/create-new-project-2020.png" alt-text="Screenshot shows the Create new project page."::: ::: moniker-end

  3. Open Work Items. Select your project, then choose Work > Work Items.

    :::image type="content" source="../../../boards/work-items/media/view-add/open-work-items-agile.png" alt-text="Screenshot shows Azure Boards with Work items selected.":::

  4. Select the WIT you customized, in this example, Bug.

    :::image type="content" source="media/process/add-custom-field-verify-bug.png" alt-text="Screenshot shows New Work Item with the Bug item selected.":::

  5. Verify that the field you added appears on the form. The :::image type="icon" source="../../../media/icons/required-icon.png"::: (exclamation mark) icon indicates the field is required.

    :::image type="content" source="media/process/add-custom-field-verify-bug-form.png" alt-text="Screenshot shows the New Bug with the Customer Ticket field added.":::

[!INCLUDE temp]

Next steps

[!div class="nextstepaction"] Add a custom work item type

OR

[!div class="nextstepaction"] Add and manage work item types

Related content

[!INCLUDE temp]