Processors : TfsWorkItemDeleteProcessor
Ref
Less than 1 minute to read
2024-11-05 16:27:45 +0000
draft
This page is in draft and may include errors or omissions. Please check the discussions for any pending updates and changes to the content or to suggest your own changes.
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 | If set to `true` then the processor will run. Set to `false` and the processor will not run. | missing XML code comments |
FilterWorkItemsThatAlreadyExistInTarget | Boolean | missing XML code comments | missing XML code comments |
PauseAfterEachWorkItem | Boolean | missing XML code comments | missing XML code comments |
SourceName | String | missing XML code comments | missing XML code comments |
TargetName | String | missing XML code comments | missing XML code comments |
WIQLQuery | String | missing XML code comments | missing XML code comments |
WorkItemCreateRetryLimit | Int32 | missing XML code comments | missing XML code comments |
WorkItemIDs | IList | missing XML code comments | missing XML code comments |
Examples
sample
This is an example of what your config might look like once configured.
1
2
There is no sample, but you can check the classic below for a general feel.
defaults
These are the default values for this configuration. If you do not set it in your config the default always applies. You can overide by adding a diferent value in your config.
1
2
There are no defaults! Check the sample for options!
classic
We have moved to a new config format, and you will need to update your old configs. This entry is a strate seralisation of the object and is here for legacy, and may provide value for debugging issues.
1
2
3
4
5
6
7
8
9
10
11
12
{
"$type": "TfsWorkItemDeleteProcessorOptions",
"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,
"SourceName": null,
"TargetName": null
}