Commit 81bff2a
authored
When trying to migrate from Azure Devops 2019 to Azure Devops 2022, in
user story , Resolved reason which is of type
Microsoft.VSTS.Common.ResolvedReason , has extra value "Will not fix" in
target values.
in source code, instead of checking equality of source field count and
target field count modified check to targetfields.count<
sourcefields.count.
Source Azure Devops Version : 2019
Target Azure Devops Version: 2022
Microsoft.VSTS.Common.ResolvedReason in 2022 , has extra value "will not
fix". There is no way in Azure Devops 2022 or Azure Devops 2019 to
modify Microsoft.VSTS.Common.ResolvedReason. Therefore, instead of
checking number of fields, checking all allowed source field values in
allowed target field values is enough.
Also modified name of method from **AllowedValuesAreSame** to
**DoesTargetContainsAllSourceValues**
File tree
1 file changed
+4
-16
lines changed- src/MigrationTools.Clients.TfsObjectModel/Tools
1 file changed
+4
-16
lines changedLines changed: 4 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
222 | 210 | | |
223 | 211 | | |
224 | 212 | | |
| |||
0 commit comments