From e24988bcaebec362be46e6a5d0f6c10de1f36c72 Mon Sep 17 00:00:00 2001 From: "Martin Hinshelwood nkdAgility.com" Date: Tue, 20 Aug 2024 22:12:24 +0100 Subject: [PATCH] Update docs gen --- docs/Reference/Generated/MigrationTools.xml | 17 +++++++++++------ ...cessors.keepoutboundlinktargetprocessor.yaml | 4 ++-- ...rocessors.keepoutboundlinktargetprocessor.md | 4 ++-- .../Infrastructure/FieldMapOptions.cs | 1 - .../Infrastructure/IFieldMapOptions.cs | 3 +++ 5 files changed, 18 insertions(+), 11 deletions(-) diff --git a/docs/Reference/Generated/MigrationTools.xml b/docs/Reference/Generated/MigrationTools.xml index cd98377d9..183b6dd54 100644 --- a/docs/Reference/Generated/MigrationTools.xml +++ b/docs/Reference/Generated/MigrationTools.xml @@ -190,6 +190,11 @@ If set to `true` then the Fieldmap will run. Set to `false` and the processor will not run. + + + A list of Work Item Types that this Field Map will apply to. If the list is empty it will apply to all Work Item Types. You can use "*" to apply to all Work Item Types. + + from https://gist.github.com/pietergheysens/792ed505f09557e77ddfc1b83531e4fb @@ -279,27 +284,27 @@ - => @"487bb1ec" + => @"135efcc7" - => @"487bb1ecd841a6400e2c524680b9cffb01aeefbc" + => @"135efcc7b38ddb8b719d457531bfe18db9aeed77" - => @"2024-08-20T22:03:22+01:00" + => @"2024-08-20T22:09:53+01:00" - => @"143" + => @"144" - => @"v15.1.8-Preview.9-143-g487bb1ec" + => @"v15.1.8-Preview.9-144-g135efcc7" @@ -334,7 +339,7 @@ - => @"151" + => @"152" diff --git a/docs/_data/reference.processors.keepoutboundlinktargetprocessor.yaml b/docs/_data/reference.processors.keepoutboundlinktargetprocessor.yaml index 342dc7927..3eae6bbfd 100644 --- a/docs/_data/reference.processors.keepoutboundlinktargetprocessor.yaml +++ b/docs/_data/reference.processors.keepoutboundlinktargetprocessor.yaml @@ -12,7 +12,7 @@ configurationSamples: "Enabled": false, "WIQLQuery": "Select [System.Id] From WorkItems Where [System.TeamProject] = @project and not [System.WorkItemType] contains 'Test Suite, Test Plan,Shared Steps,Shared Parameter,Feedback Request'", "TargetLinksToKeepOrganization": "https://dev.azure.com/nkdagility", - "TargetLinksToKeepProject": "caa56a36-4a17-470f-b66e-0a0830039398", + "TargetLinksToKeepProject": "24cc0d42-d2c4-46ec-9116-6dfcf1a5d12c", "CleanupFileName": "c:/temp/OutboundLinkTargets.bat", "PrependCommand": "start", "DryRun": true, @@ -45,7 +45,7 @@ configurationSamples: "Enabled": false, "WIQLQuery": "Select [System.Id] From WorkItems Where [System.TeamProject] = @project and not [System.WorkItemType] contains 'Test Suite, Test Plan,Shared Steps,Shared Parameter,Feedback Request'", "TargetLinksToKeepOrganization": "https://dev.azure.com/nkdagility", - "TargetLinksToKeepProject": "caa56a36-4a17-470f-b66e-0a0830039398", + "TargetLinksToKeepProject": "24cc0d42-d2c4-46ec-9116-6dfcf1a5d12c", "CleanupFileName": "c:/temp/OutboundLinkTargets.bat", "PrependCommand": "start", "DryRun": true, diff --git a/docs/collections/_reference/reference.processors.keepoutboundlinktargetprocessor.md b/docs/collections/_reference/reference.processors.keepoutboundlinktargetprocessor.md index 720b90f39..7960cca30 100644 --- a/docs/collections/_reference/reference.processors.keepoutboundlinktargetprocessor.md +++ b/docs/collections/_reference/reference.processors.keepoutboundlinktargetprocessor.md @@ -13,7 +13,7 @@ configurationSamples: "Enabled": false, "WIQLQuery": "Select [System.Id] From WorkItems Where [System.TeamProject] = @project and not [System.WorkItemType] contains 'Test Suite, Test Plan,Shared Steps,Shared Parameter,Feedback Request'", "TargetLinksToKeepOrganization": "https://dev.azure.com/nkdagility", - "TargetLinksToKeepProject": "caa56a36-4a17-470f-b66e-0a0830039398", + "TargetLinksToKeepProject": "24cc0d42-d2c4-46ec-9116-6dfcf1a5d12c", "CleanupFileName": "c:/temp/OutboundLinkTargets.bat", "PrependCommand": "start", "DryRun": true, @@ -46,7 +46,7 @@ configurationSamples: "Enabled": false, "WIQLQuery": "Select [System.Id] From WorkItems Where [System.TeamProject] = @project and not [System.WorkItemType] contains 'Test Suite, Test Plan,Shared Steps,Shared Parameter,Feedback Request'", "TargetLinksToKeepOrganization": "https://dev.azure.com/nkdagility", - "TargetLinksToKeepProject": "caa56a36-4a17-470f-b66e-0a0830039398", + "TargetLinksToKeepProject": "24cc0d42-d2c4-46ec-9116-6dfcf1a5d12c", "CleanupFileName": "c:/temp/OutboundLinkTargets.bat", "PrependCommand": "start", "DryRun": true, diff --git a/src/MigrationTools/Tools/FieldMappingTool/Infrastructure/FieldMapOptions.cs b/src/MigrationTools/Tools/FieldMappingTool/Infrastructure/FieldMapOptions.cs index ee2e3b0e2..731ee06e9 100644 --- a/src/MigrationTools/Tools/FieldMappingTool/Infrastructure/FieldMapOptions.cs +++ b/src/MigrationTools/Tools/FieldMappingTool/Infrastructure/FieldMapOptions.cs @@ -21,7 +21,6 @@ protected FieldMapOptions() /// /// If set to `true` then the Fieldmap will run. Set to `false` and the processor will not run. /// - [JsonIgnore] public bool Enabled { get; set; } public List ApplyTo { get; set; } diff --git a/src/MigrationTools/Tools/FieldMappingTool/Infrastructure/IFieldMapOptions.cs b/src/MigrationTools/Tools/FieldMappingTool/Infrastructure/IFieldMapOptions.cs index 7f6daccda..f670014ee 100644 --- a/src/MigrationTools/Tools/FieldMappingTool/Infrastructure/IFieldMapOptions.cs +++ b/src/MigrationTools/Tools/FieldMappingTool/Infrastructure/IFieldMapOptions.cs @@ -6,6 +6,9 @@ namespace MigrationTools.Tools.Infrastructure { public interface IFieldMapOptions : IOptions { + /// + /// A list of Work Item Types that this Field Map will apply to. If the list is empty it will apply to all Work Item Types. You can use "*" to apply to all Work Item Types. + /// [JsonProperty(Order = -1)] List ApplyTo { get; set; }