...
The Work Item Selector field determines which Work Items are considered during this Gate evaluation. There are 3 selector options when it comes to Work Items in the Release and Pipeline executionavailable:
Release Work Items - All Work Items ever associated to the Release (these show up under the Work Items section on the Release Definition tab).
Snapshot Work Items - These are the Work Items that were associated during build of the current Release Snapshot. These are generally a subset of the Release Work Items.
Stage Work Items - Stage Work Items are all Work Items that will deploy in the upcoming Stage steps.
The below diagram can help describe the differences between the 3 selectors when looking considering which Work Items are selected at a Work Item Validation gate in the Blue Test Stage of Snapshot-3
.
Drawio | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Selector | Work Items that will be selected | Why? |
---|---|---|
Release | 1, 2, 3, 4, and 5 (All of them) | Once a work item is built in a release snapshot, it is added to the Release Work Items where it will remain until the project or work item is removed from the Release. |
Snapshot | 4 and 5 | Only the Work Items built on the current snapshot will be considered. |
Stage | 2, 3, 4, and 5 | Work Item 1 had been deployed to the Test Stage in |
Work Item Selector
The option to choose the Work Item selection process was added in version 9.0.0.1. If you are on version 9.0.0.0 the Snapshot selector is used.
Validation Types
The Work Item Validation Gate supports 3 Validation Types:
...