Skip to content

Commit d0b7adc

Browse files
committed
PR 42: Added a number of demo configurations
- Added a number of demo configurations
1 parent 20b91f2 commit d0b7adc

File tree

4 files changed

+165
-0
lines changed

4 files changed

+165
-0
lines changed

VSTS.DataBulkEditor.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionFiles", "SolutionFi
1313
README.md = README.md
1414
EndProjectSection
1515
EndProject
16+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "configurations", "configurations", "{89434800-3004-4621-8677-C14C1D1AA4AF}"
17+
ProjectSection(SolutionItems) = preProject
18+
configurations\demo-mapping-scrum2Agile.json = configurations\demo-mapping-scrum2Agile.json
19+
configurations\demo-migration-reset.json = configurations\demo-migration-reset.json
20+
configurations\demo-migration.json = configurations\demo-migration.json
21+
EndProjectSection
22+
EndProject
1623
Global
1724
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1825
Debug|Any CPU = Debug|Any CPU
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"TelemetryEnableTrace": true,
3+
"Target": {
4+
"Collection": "https://tfs.test.company.com/tfs/col2/",
5+
"Name": "ProjectName"
6+
},
7+
"ReflectedWorkItemIDFieldName": "TfsMigrationTool.ReflectedWorkItemId",
8+
"WorkItemTypeDefinition": {
9+
"Bug": "Bug",
10+
"User Story": "User Story",
11+
"Requirement": "Requirement",
12+
"Task": "Task",
13+
"Test Case": "Test Case",
14+
"Shared Steps": "Shared Steps",
15+
"Shared Parameter": "Shared Parameter"
16+
},
17+
"FieldMaps": [
18+
{
19+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.FieldMap.FieldtoTagMapConfig",
20+
"WorkItemTypeName": "*",
21+
"sourceField": "System.State",
22+
"formatExpression": "OriginalState:{0}"
23+
},
24+
{
25+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.FieldMap.FieldValueMapConfig",
26+
"WorkItemTypeName": "*",
27+
"sourceField": "System.State",
28+
"targetField": "System.State",
29+
"valueMapping": {
30+
"Approved": "New",
31+
"New": "New",
32+
"Committed": "Active",
33+
"In Progress": "Active",
34+
"To Do": "New",
35+
"Done": "Closed"
36+
}
37+
},
38+
{
39+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.FieldMap.FieldtoTagMapConfig",
40+
"WorkItemTypeName": "*",
41+
"sourceField": "Microsoft.VSTS.Common.BusinessValue",
42+
"formatExpression": "BV:{0}"
43+
},
44+
{
45+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.FieldMap.FieldtoFieldMapConfig",
46+
"WorkItemTypeName": "*",
47+
"sourceField": "Microsoft.VSTS.Common.BacklogPriority",
48+
"targetField": "Microsoft.VSTS.Common.StackRank"
49+
},
50+
{
51+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.FieldMap.FieldtoFieldMapConfig",
52+
"WorkItemTypeName": "*",
53+
"sourceField": "Microsoft.VSTS.Scheduling.Effort",
54+
"targetField": "Microsoft.VSTS.Scheduling.StoryPoints"
55+
}
56+
],
57+
"Processors": [
58+
{
59+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.Processing.WorkItemUpdateConfig",
60+
"WhatIf": false,
61+
"Disabled": false,
62+
"QueryBit": "AND [TfsMigrationTool.ReflectedWorkItemId] = '' AND [Microsoft.VSTS.Common.ClosedDate] = '' AND [System.WorkItemType] IN ('Shared Steps', 'Shared Parameter', 'Test Case', 'Requirement', 'Task', 'User Story', 'Bug')"
63+
}
64+
]
65+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"TelemetryEnableTrace": true,
3+
"Target": {
4+
"Collection": "https://tfs.test.company.com/tfs/Coll2/",
5+
"Name": "ProjectName"
6+
},
7+
"ReflectedWorkItemIDFieldName": "TfsMigrationTool.ReflectedWorkItemId",
8+
"WorkItemTypeDefinition": {
9+
"Bug": "Bug",
10+
"User Story": "User Story",
11+
"Requirement": "Requirement",
12+
"Task": "Task",
13+
"Test Case": "Test Case",
14+
"Shared Steps": "Shared Steps",
15+
"Shared Parameter": "Shared Parameter"
16+
},
17+
"FieldMaps": [
18+
{
19+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.FieldMap.FieldBlankMapConfig",
20+
"WorkItemTypeName": "*",
21+
"targetField": "TfsMigrationTool.ReflectedWorkItemId"
22+
}
23+
],
24+
"Processors": [
25+
{
26+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.Processing.WorkItemUpdateConfig",
27+
"WhatIf": false,
28+
"Enabled": true,
29+
"QueryBit": "AND [TfsMigrationTool.ReflectedWorkItemId] <> '' AND [System.WorkItemType] IN ('Shared Steps', 'Shared Parameter', 'Test Case', 'Requirement', 'Task', 'User Story', 'Bug')"
30+
}
31+
]
32+
}

configurations/demo-migration.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"TelemetryEnableTrace": true,
3+
"Source": {
4+
"Collection": "https://tfs.test.company.com/tfs/coll2/",
5+
"Name": "ProjectName"
6+
},
7+
"Target": {
8+
"Collection": "https://tfs.test.company.com/tfs/coll1/",
9+
"Name": "ProjectName_New"
10+
},
11+
"ReflectedWorkItemIDFieldName": "TfsMigrationTool.ReflectedWorkItemId",
12+
"WorkItemTypeDefinition": {
13+
"Bug": "Bug",
14+
"User Story": "User Story",
15+
"Requirement": "Requirement",
16+
"Task": "Task",
17+
"Test Case": "Test Case",
18+
"Shared Steps": "Shared Steps",
19+
"Shared Parameter": "Shared Parameter"
20+
},
21+
"Processors": [
22+
{
23+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.Processing.TeamMigrationConfig",
24+
"Enabled": true
25+
},
26+
{
27+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.Processing.NodeStructuresMigrationConfig",
28+
"Enabled": false
29+
},
30+
{
31+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.Processing.WorkItemMigrationConfig",
32+
"Enabled": false,
33+
"QueryBit": "AND [TfsMigrationTool.ReflectedWorkItemId] = '' AND [Microsoft.VSTS.Common.ClosedDate] = '' AND [System.WorkItemType] IN ('Shared Steps', 'Shared Parameter', 'Test Case', 'Requirement', 'Task', 'User Story', 'Bug')"
34+
},
35+
{
36+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.Processing.LinkMigrationConfig",
37+
"Enabled": false
38+
},
39+
{
40+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.Processing.AttachementExportMigrationConfig",
41+
"Enabled": false,
42+
"QueryBit": "AND [System.AttachedFileCount] > 0"
43+
},
44+
{
45+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.Processing.AttachementImportMigrationConfig",
46+
"Enabled": false
47+
},
48+
{
49+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.Processing.TestVeriablesMigrationConfig",
50+
"Enabled": false
51+
},
52+
{
53+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.Processing.TestConfigurationsMigrationConfig",
54+
"Enabled": false
55+
},
56+
{
57+
"ObjectType": "VSTS.DataBulkEditor.Engine.Configuration.Processing.TestPlansAndSuitsMigrationConfig",
58+
"Enabled": false
59+
}
60+
]
61+
}

0 commit comments

Comments
 (0)