Forum Discussion
Permanently delete more than 20.000 work items from Azure DevOps recycle bin
- Oct 06, 2024
Kidd_Ip
The problem is not to destroy a specific work item. The problem is how to figure out, which work items (or ids) are in recycle bin.I have implemented the following work around now:
I delete all work items which are within a given range of startWorkItemId and endWorkItemIf, and ignore all failed delete operations. This approach works quite well, but is very slow if the range is huge.
Refer this:
Work Items - Delete Work Items - REST API (Azure DevOps Work Item Tracking) | Microsoft Learn
- UdoKnopOct 06, 2024Copper Contributor
Kidd_Ip
The problem is not to destroy a specific work item. The problem is how to figure out, which work items (or ids) are in recycle bin.I have implemented the following work around now:
I delete all work items which are within a given range of startWorkItemId and endWorkItemIf, and ignore all failed delete operations. This approach works quite well, but is very slow if the range is huge.