Azure DevOps Migration Tools

v#{GitVersion.SemVer}#

Azure DevOps Migration Tools

Overview
 › 
 › 
 › 
 › 
 › 

WorkItemDelete

Ref

  

Less than 1 minute to read

  

2024-07-17 04:44:29 -0500

The WorkItemDelete processor allows you to delete any amount of work items that meet the query. DANGER: This is not a recoverable action and should be use with extream caution.

Options

Parameter name Type Description Default Value
Enabled Boolean missng XML code comments missng XML code comments
FilterWorkItemsThatAlreadyExistInTarget Boolean missng XML code comments missng XML code comments
PauseAfterEachWorkItem Boolean missng XML code comments missng XML code comments
WIQLQuery String missng XML code comments missng XML code comments
WorkItemCreateRetryLimit Int32 missng XML code comments missng XML code comments
WorkItemIDs IList missng XML code comments missng XML code comments

Example

A basic sample for WorkItemDelete configuration.

1
2
3
4
5
6
7
8
9
{
  "$type": "WorkItemDeleteConfig",
  "Enabled": false,
  "WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan','Shared Steps','Shared Parameter','Feedback Request') ORDER BY [System.ChangedDate] desc",
  "WorkItemIDs": null,
  "FilterWorkItemsThatAlreadyExistInTarget": false,
  "PauseAfterEachWorkItem": false,
  "WorkItemCreateRetryLimit": 0
}