Commit 40c1462
Refactor GetFieldMappings for missing mappings (#3060)
Refactored the `GetFieldMappings` method in `FieldMappingTool.cs` to
improve code clarity and functionality. Introduced a `result` list to
aggregate both global (`"*"` wildcard) and specific mappings for a given
work item type. The method now returns a combined list of mappings,
ensuring both global and specific mappings are considered when
applicable.
Co-authored-by: Mattias Nielsen <[email protected]>1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
77 | 78 | | |
78 | | - | |
| 79 | + | |
79 | 80 | | |
80 | | - | |
| 81 | + | |
81 | 82 | | |
82 | | - | |
| 83 | + | |
83 | 84 | | |
84 | | - | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| |||
0 commit comments