title: Add, update, & follow stories, issues, bugs, & other work items
titleSuffix: Azure Boards
description: Add work items to plan and manage a software project using Agile tools, Scrum, or Kanban when connected to a project in Azure Boards or TFS
ms.custom: seodec18
ms.technology: devops-agile
ms.prod: devops
ms.assetid: 9474A25E-A9D8-433D-8370-C94624B4ACD6
ms.manager: mijacobs
ms.author: kaelli
author: KathrynEE
monikerRange: '>= tfs-2013'
ms.topic: quickstart
ms.date: 02/14/2019
[!INCLUDE temp]
You add work items to plan and manage your project. You use different types of work items to track different types of work—such as user stories or product backlog items, tasks, bugs, or issues. You can describe the work to be done, assign work, track status, and coordinate efforts within your team.
For additional clients that you can use, see Best tools for adding, updating, and linking work items.
[!INCLUDE temp]
You can start adding work items once you connect to a project.
::: moniker range=">= azure-devops-2019"
Choose a Boards page—such as Work Items, Boards, or Backlogs. Then choose the plus icon and select from the menu of options.
Note
Depending on the process chosen when the project was created—Agile, Basic, Scrum, or CMMI—the types of work items you can create will differ. For example, backlog items may be called user stories (Agile), issues (Basic) product backlog items (Scrum), or requirements (CMMI). All four are similar: they describe the customer value to deliver and the work to be performed.
For an overview of all default processes, see Choose a process. Note that the Basic process requires Azure DevOps Server 2019.1 or later version.
Enter a title and then save the work item. Before you can change the State from its initial default, you must save it.
You can add tags to any work item to filter backlogs and queries.
Work items you add are automatically scoped to your team's default area path and iteration path. To change the team context, see Switch project or team focus.
That's it!
Create as many work items as you need of the type you need to track the work you want to manage.
::: moniker-end
::: moniker range=">= tfs-2017 <= tfs-2018"
-
From Work, choose the work item type from the New Work Item list of options. Here, we choose to create a User Story.
[!NOTE]
Depending on the process chosen when the project was created—Agile, Scrum, or CMMI—the types of work items you can create will differ. For example, backlog items may be called user stories (Agile), product backlog items (Scrum), or requirements (CMMI). All three are similar: they describe the customer value to deliver and the work to be performed.For an overview of all three processes, see Choose a process.
Choose the
pin icon to have it show up within Work drop down menu.
-
Enter a title and then save the work item. Before you can change the State from its initial default, you must save it.
You can add tags to any work item to filter backlogs and queries.
Work items you add are automatically scoped to your team's default area path and iteration path. To change the team context, see Switch project or team focus.
::: moniker-end
::: moniker range="<= tfs-2015"
-
From a web browser, connect to the project that you want to work in. For example, the Fabrikam, Inc. team navigates to
http://fabrikamprime:8080/tfs/DefaultCollection/Fabrikam%20Fiber%20Website/
. -
From a team home page, you can choose the type of work item you want to create.
Work items you add are automatically scoped to your team's area and iteration paths. To change the team context, see Switch project or team focus
-
Enter a title and then save the work item. Before you change the default State, you must save it.
You can add tags to any work item to filter backlogs and queries.
::: moniker-end
-
Open Visual Studio 2019, Team Explorer, and then choose Work Items.
If you don't see the Work Items option, you need to connect to a project and not just a repository. From the Connect to a Project dialog. Use CTRL-Shift to select your options and then choose Connect.
-
Choose New Work Item and select the work item type you want.
If you work within Visual Studio 2017 or later version, a browser window will open with the work item form to fill out. If you work within Visual Studio 2015 or earlier version, a work item form opens within Visual Studio.
[!INCLUDE temp]
[!INCLUDE temp]
As work progresses, team members can update the state and reassign it as needed. While the workflow states differ for different work item types, they usually follow a progression from New or Active to Completed or Done.
::: moniker range=">= tfs-2017"
::: moniker range="<= tfs-2015" Note that the location of the State field may differ depending on the work item type you are updating.
::: moniker range=">= azure-devops-2019"
The following image shows the work flow states for a user story. If you want to discard a work item, change the state to Removed, or you can delete it. For details, see Move, change, or remove a work item.
::: moniker-end
::: moniker range="= tfs-2018"
The following image shows the work flow states for a user story. If you want to discard a work item, change the state to Removed, or you can delete it. For details, see Remove or delete a work item.
::: moniker-end
Removed work items remain in the data store and can be reactivated by changing the State.
With each update, changes are recorded in the History field which you can view through the History tab.
::: moniker range=">= tfs-2017"
::: moniker-end
::: moniker range=">= tfs-2013 <= tfs-2015"
::: moniker-end
To find work items based on their history, see History & auditing.
[!INCLUDE temp]
There is no way to use Visual Studio 2019 to update a work item at this time.
::: moniker range="= azure-devops"
Update work item | Show work item details
You can make updates to your work items with the az boards work-item update command. To get started, see Get started with Azure DevOps CLI.
az boards work-item update --id
[--area]
[--assigned-to]
[--description]
[--discussion]
[--fields]
[--iteration]
[--open]
[--org]
[--reason]
[--state]
[--title]
- id: Required. The ID of the work item.
- area: Area the work item is assigned to (for example, Demos).
- assigned-to: Name of the person the work item is assigned-to (for example, fabrikam).
- description: Description of the work item.
- discussion: Comment to add to a discussion in a work item.
- fields: Space separated "field=value" pairs for custom fields you would like to set.
- iteration: Iteration path of the work item (for example, DemosIteration 1).
- open: Open the work item in the default web browser.
- org: Azure DevOps organization URL. You can configure the default organization using
az devops configure -d organization=ORG_URL
. Required if not configured as default or picked up usinggit config
. Example:--org https://dev.azure.com/MyOrganizationName/
. - reason: Reason for the state of the work item. Must be a valid workflow Reason for the work item type.
- state: State of the work item (for example, Active). Must be a valid workflow State for the work item type.
- title: Title of the work item.
The following command updates the title of the bug with the ID 864 and displays the results in the Azure DevOps CLI in table format.
az boards work-item update --id 864 --title "Fix security issues" --output table
ID Type Title Assigned To State
---- ------ ------------------- ------------------- -------
864 Bug Fix security issues contoso@contoso.com New
You can use the discussion parameter to add comments to the Discussion section of a work item. The following command adds the specified comment to the bug with the ID 864 and opens the bug in your default web browser, where you can view the comment.
az boards work-item update --id 864 --discussion "This work item is about 50% complete" --open
You can show the details for a work item with the az boards work-item show command. To get started, see Get started with Azure DevOps CLI.
az boards work-item show --id
[--open]
[--org]
- id: Required. The ID of the work item.
- open: Open the work item in the default web browser.
- org: Azure DevOps organization URL. You can configure the default organization using
az devops configure -d organization=ORG_URL
. Required if not configured as default or picked up usinggit config
. Example:--org https://dev.azure.com/MyOrganizationName/
.
The following command shows details for the bug with the ID 864. It opens in your default web browser and also displays the results in the Azure DevOps CLI in table format.
az boards work-item show --id 864 --open --output table
ID Type Title Assigned To State
---- ------ ---------- ------------------- -------
864 Bug fix-issues contoso@contoso.com New
::: moniker-end
[!INCLUDE temp]
::: moniker range=">= tfs-2017"
When you want to track the progress of a single work item, choose the follow icon. This signals the system to notify you when changes are made to the work item.
You'll only receive notifications when other members of your team modifies the work item, such as adding to the discussion, changing a field value, or adding an attachment.
Notifications are sent to your preferred email address, which you can change from your user profile.
To stop following changes, choose the following icon.
::: moniker-end
::: moniker range=">= tfs-2017 <= azure-devops-2019"
Important
To support the follow feature, you must configure an SMTP server in order for team members to receive notifications.
::: moniker-end
To quickly add backlog items, such as user stories, requirements or bugs, see these articles:
[!div class="nextstepaction"] Create your backlog Kanban quickstart
For descriptions of each field and work item form control, see Work item field index and Work item form controls.
Once you've added several work items, you can use additional features to get notified of changes, create queries, define status and trend charts, plus more.
For additional clients that you can use to add work items, see Clients that support tracking work items.