Maintaining a clean and efficient backlog is essential. What you remove from your backlog is often just as important as what you add. In this comprehensive article, I will walk you through the professional way to delete a user story in Azure DevOps while maintaining the integrity of your project.
Table of Contents
- How To Delete A User Story In Azure DevOps
- Deleting vs. Removing vs. Closing: Know the Difference
- Prerequisites: Permissions and Access
- How to Delete a User Story: The Step-by-Step Tutorial
- Method B: Deleting from Within the User Story Form
- What Happens After Deletion? (The Recycle Bin)
- Deleting User Stories with “Child” Tasks
- Security Best Practices
- Video Tutorial
How To Delete A User Story In Azure DevOps
Deleting vs. Removing vs. Closing: Know the Difference
Before we click the delete button, we must understand the “State” logic in Azure DevOps. Many teams make the mistake of deleting work items when they should actually be “Removing” or “Closing” them.
The Decision Matrix
| Action | When to Use It | Impact on Data |
| Close | The work is finished and verified. | Keeps the item in history; counts toward velocity. |
| Removed | The idea is valid but we’ve decided not to do it. | Keeps the item in history; does not count toward velocity. |
| Delete | The item was a mistake, a duplicate, or created in error. | Moves item to the “Recycle Bin”; eventually permanently purged. |
If you are a Project Lead overseeing a critical deployment, you likely want to use the “Removed” state for audit purposes. However, if someone accidentally double-clicked and created a blank story, “Delete” is the correct path.
Prerequisites: Permissions and Access
In most enterprise Azure DevOps environments, “Delete” permissions are restricted to prevent accidental data loss.
- Project Level: You must be a member of the Project Administrators group or have the “Delete work items” permission set to “Allow” for your specific Area Path.
- Process Template: Whether you use Agile, Scrum, or Basic, the deletion process remains consistent, but ensure your organization hasn’t disabled the Recycle Bin feature.
How to Delete a User Story: The Step-by-Step Tutorial
I will show you the two primary ways to handle this: through the Backlog view and through the Work Item form.
Method A: Deleting from the Backlog or Board (The Bulk Method)
This is the most efficient way to clean up several items at once.
- Navigate to your Project: Open your organization (e.g.,
dev.azure.com/YourOrg). - Go to Boards: Select Backlogs or Queries from the left-hand navigation pane.
- Select the Story: Click on the User Story you wish to delete. To select multiple, hold the
Ctrlkey (Windows) orCmdkey (Mac). - Open the Context Menu: Right-click on the selected item(s) or click the three dots (…) (Actions menu).
- Select Delete: Click on Delete.
- Confirm: A confirmation dialog will appear. Click Delete again.
Check out the screenshots below for your reference.


Method B: Deleting from Within the User Story Form
If you are currently reviewing the details of a story and realize it is no longer needed:
- Open the User Story: Click on the title to open the full work item view.
- Locate the Actions Menu: In the top right corner of the form, look for the three dots (…).
- Choose Delete: Select the Delete option from the dropdown.
- Finalize: Confirm the deletion in the pop-up window.


What Happens After Deletion? (The Recycle Bin)
One of the best safety features Microsoft introduced is the Work Item Recycle Bin. When you delete a story, it isn’t gone forever—at least not yet.
- Retention Policy: By default, deleted items stay in the Recycle Bin for 30 days.
- Traceability: The links to parent features or child tasks are severed upon deletion.
- Restoration: If James Miller realizes he deleted the wrong story during a hectic refinement session, he can navigate to Boards > Work Items, click the Recycle Bin tab, and select Restore.
Method C: Deleting the user story using Azure CLI
We can also use the Azure CLI command below to permanently delete the user story.
az boards work-item delete --id 40 --destroy --yes --org "https://dev.azure.com/fewlines4biju" --project "AzureLessonsAgile" After executing the query above, I received the expected output, as shown in the screenshot below.

Note: If you use the destroy parameter with the above command, you won’t be able to restore the deleted user story. It is a permanent deletion. So use the command with caution.
Deleting User Stories with “Child” Tasks
If your User Story has Child Tasks or Bugs attached to it, deleting the parent story does not automatically delete the children.
Expert Warning: If you delete a User Story but leave its Tasks active, those Tasks become “orphaned.” They will still appear in your Sprint Taskboard but will have no parent context, which wreaks havoc on your “Work by Parent” reports.
The Correct Workflow for Linked Items:
- Open the User Story.
- Scroll to the Related Work section.
- Multi-select all Child items.
- Delete the children first, then delete the parent story. Or, move the children to a different User Story if the work is still relevant.

Security Best Practices
- Disable Permanent Deletion: In your Project Settings, you can allow users to “Delete” (move to Recycle Bin) but deny them the permission to “Permanently Delete” (purge from the bin). This ensures a Project Admin can always recover data.
- Audit Logs: Use the Azure DevOps Audit Logs to see who deleted what. If a high-priority story disappears from the “Financial Portal 2.0” project, the audit log will show that David Wilson performed the deletion at 2:00 PM EST.
- Automation Rules: Consider using Azure Logic Apps or Service Hooks to send a Slack or Microsoft Teams notification whenever a work item is deleted. This keeps the team transparent.
Video Tutorial
Conclusion
Deleting a user story in Azure DevOps is a simple action with significant ripple effects. By following this article, you ensure that your backlog remains a “lean, mean, product-building machine” without sacrificing the data integrity of your organization.
You may also like the following articles:
- Feature Vs User Story Azure Devops
- How To Create User Story In Azure DevOps
- How To Merge Two Branches In Azure DevOps
- How to add team members in Azure DevOps

I am Rajkishore, and I am a Microsoft Certified IT Consultant. I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machines, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.
