title: Error The work item type Product Backlog Item cannot be found
body: <p>Fixed: Turns out I had to change the project to my InheritedProcess containing the ReflectedWorkItemId for it to work. My migration just ran. Thanks for the help!</p>
  <p>Please close this!</p>
  <p>I'm trying to use this migration tool to test out a migration. I have a source project and target project. Both on ADO and in the same organization. I have created the field &quot;ReflectedWorkItemId&quot; for my organization under an inherited process for SCRUM process as follows:</p>
  <p><a href="https://i.stack.imgur.com/c50pP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c50pP.png" alt="Org settings with ReflectedWorkItemId" /></a></p>
  <p>Error I'm getting is:</p>
  <pre><code>[12:08:55 INF] !! After removing all found work items there are 134 remaining to be migrated.
  [12:08:55 WRN] ValidatingRequiredField: Task does not contain ReflectedWorkItemId
  [12:08:55 FTL] Error while running WorkItemMigration
  Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemTypeDeniedOrNotExistException: TF201077: The work item type Product Backlog Item cannot be found. It may have been renamed or destroyed.
     at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemTypeCollection.get_Item(String typeName)
     at MigrationTools.ProcessorEnrichers.TfsValidateRequiredField.ValidatingRequiredField(String fieldToFind, List`1 sourceWorkItems) in D:\a\1\s\src\MigrationTools.Clients.AzureDevops.ObjectModel\ProcessorEnrichers\TfsValidateRequiredField.cs:line 44
     at VstsSyncMigrator.Engine.WorkItemMigrationContext.InternalExecute() in D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\WorkItemMigrationContext.cs:line 122
     at MigrationTools._EngineV1.Processors.MigrationProcessorBase.Execute() in D:\a\1\s\src\MigrationTools\_EngineV1\Processors\MigrationProcessorBase.cs:line 47
  [12:08:55 ERR] WorkItemMigration The Processor MigrationEngine entered the failed state...stopping run
  [12:08:55 INF] Application is shutting down...
  [12:08:55 INF] Terminating: Application forcebly closed.
  [12:08:55 INF] Application Ending
  [12:08:55 INF] The application ran in 00:00:34.4484023 and finished at 02/19/2021 12:08:55
  </code></pre>
  <p>My JSON looks like this:</p>
  <pre><code>{
    &quot;ChangeSetMappingFile&quot;: null,
    &quot;Source&quot;: {
      &quot;$type&quot;: &quot;TfsTeamProjectConfig&quot;,
      &quot;Collection&quot;: &quot;https://dev.azure.com/REDACTED/&quot;,
      &quot;Project&quot;: &quot;SingularPOC&quot;,
      &quot;ReflectedWorkItemIDFieldName&quot;: &quot;ReflectedWorkItemId&quot;,
      &quot;AllowCrossProjectLinking&quot;: false,
      &quot;AuthenticationMode&quot;: &quot;Prompt&quot;,
      &quot;PersonalAccessToken&quot;: &quot;&quot;,
      &quot;LanguageMaps&quot;: {
        &quot;AreaPath&quot;: &quot;Area&quot;,
        &quot;IterationPath&quot;: &quot;Iteration&quot;
      }
    },
    &quot;Target&quot;: {
      &quot;$type&quot;: &quot;TfsTeamProjectConfig&quot;,
      &quot;Collection&quot;: &quot;https://dev.azure.com/REDACTED/&quot;,
      &quot;Project&quot;: &quot;TargetPOC&quot;,
      &quot;ReflectedWorkItemIDFieldName&quot;: &quot;ReflectedWorkItemId&quot;,
      &quot;AllowCrossProjectLinking&quot;: false,
      &quot;AuthenticationMode&quot;: &quot;Prompt&quot;,
      &quot;PersonalAccessToken&quot;: &quot;&quot;,
      &quot;LanguageMaps&quot;: {
        &quot;AreaPath&quot;: &quot;Area&quot;,
        &quot;IterationPath&quot;: &quot;Iteration&quot;
      }
    },
    &quot;FieldMaps&quot;: [
      {
        &quot;$type&quot;: &quot;MultiValueConditionalMapConfig&quot;,
        &quot;WorkItemTypeName&quot;: &quot;*&quot;,
        &quot;sourceFieldsAndValues&quot;: {
          &quot;Field1&quot;: &quot;Value1&quot;,
          &quot;Field2&quot;: &quot;Value2&quot;
        },
        &quot;targetFieldsAndValues&quot;: {
          &quot;Field1&quot;: &quot;Value1&quot;,
          &quot;Field2&quot;: &quot;Value2&quot;
        }
      },
      {
        &quot;$type&quot;: &quot;FieldBlankMapConfig&quot;,
        &quot;WorkItemTypeName&quot;: &quot;*&quot;,
        &quot;targetField&quot;: &quot;TfsMigrationTool.ReflectedWorkItemId&quot;
      },
      {
        &quot;$type&quot;: &quot;FieldValueMapConfig&quot;,
        &quot;WorkItemTypeName&quot;: &quot;*&quot;,
        &quot;sourceField&quot;: &quot;System.State&quot;,
        &quot;targetField&quot;: &quot;System.State&quot;,
        &quot;defaultValue&quot;: &quot;New&quot;,
        &quot;valueMapping&quot;: {
          &quot;Approved&quot;: &quot;New&quot;,
          &quot;New&quot;: &quot;New&quot;,
          &quot;Committed&quot;: &quot;Active&quot;,
          &quot;In Progress&quot;: &quot;Active&quot;,
          &quot;To Do&quot;: &quot;New&quot;,
          &quot;Done&quot;: &quot;Closed&quot;,
          &quot;Removed&quot;: &quot;Removed&quot;
        }
      },
      {
        &quot;$type&quot;: &quot;FieldtoFieldMapConfig&quot;,
        &quot;WorkItemTypeName&quot;: &quot;*&quot;,
        &quot;sourceField&quot;: &quot;Microsoft.VSTS.Common.BacklogPriority&quot;,
        &quot;targetField&quot;: &quot;Microsoft.VSTS.Common.StackRank&quot;,
        &quot;defaultValue&quot;: null
      },
      {
        &quot;$type&quot;: &quot;FieldtoFieldMultiMapConfig&quot;,
        &quot;WorkItemTypeName&quot;: &quot;*&quot;,
        &quot;SourceToTargetMappings&quot;: {
          &quot;SourceField1&quot;: &quot;TargetField1&quot;,
          &quot;SourceField2&quot;: &quot;TargetField2&quot;
        }
      },
      {
        &quot;$type&quot;: &quot;FieldtoTagMapConfig&quot;,
        &quot;WorkItemTypeName&quot;: &quot;*&quot;,
        &quot;sourceField&quot;: &quot;System.State&quot;,
        &quot;formatExpression&quot;: &quot;ScrumState:{0}&quot;
      },
      {
        &quot;$type&quot;: &quot;FieldMergeMapConfig&quot;,
        &quot;WorkItemTypeName&quot;: &quot;*&quot;,
        &quot;sourceField1&quot;: &quot;System.Description&quot;,
        &quot;sourceField2&quot;: &quot;Microsoft.VSTS.Common.AcceptanceCriteria&quot;,
        &quot;targetField&quot;: &quot;System.Description&quot;,
        &quot;formatExpression&quot;: &quot;{0} &lt;br/&gt;&lt;br/&gt;&lt;h3&gt;Acceptance Criteria&lt;/h3&gt;{1}&quot;,
        &quot;doneMatch&quot;: &quot;##DONE##&quot;
      },
      {
        &quot;$type&quot;: &quot;RegexFieldMapConfig&quot;,
        &quot;WorkItemTypeName&quot;: &quot;*&quot;,
        &quot;sourceField&quot;: &quot;COMPANY.PRODUCT.Release&quot;,
        &quot;targetField&quot;: &quot;COMPANY.DEVISION.MinorReleaseVersion&quot;,
        &quot;pattern&quot;: &quot;PRODUCT \\d{4}.(\\d{1})&quot;,
        &quot;replacement&quot;: &quot;$1&quot;
      },
      {
        &quot;$type&quot;: &quot;FieldValuetoTagMapConfig&quot;,
        &quot;WorkItemTypeName&quot;: &quot;*&quot;,
        &quot;sourceField&quot;: &quot;Microsoft.VSTS.CMMI.Blocked&quot;,
        &quot;pattern&quot;: &quot;Yes&quot;,
        &quot;formatExpression&quot;: &quot;{0}&quot;
      },
      {
        &quot;$type&quot;: &quot;TreeToTagMapConfig&quot;,
        &quot;WorkItemTypeName&quot;: &quot;*&quot;,
        &quot;toSkip&quot;: 3,
        &quot;timeTravel&quot;: 1
      }
    ],
    &quot;GitRepoMapping&quot;: null,
    &quot;LogLevel&quot;: &quot;Information&quot;,
    &quot;Processors&quot;: [
      {
        &quot;$type&quot;: &quot;WorkItemMigrationConfig&quot;,
        &quot;Enabled&quot;: true,
        &quot;ReplayRevisions&quot;: true,
        &quot;PrefixProjectToNodes&quot;: false,
        &quot;UpdateCreatedDate&quot;: true,
        &quot;UpdateCreatedBy&quot;: true,
        &quot;BuildFieldTable&quot;: false,
        &quot;AppendMigrationToolSignatureFooter&quot;: false,
        &quot;WIQLQueryBit&quot;: &quot;AND  [Microsoft.VSTS.Common.ClosedDate] = '' AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan')&quot;,
        &quot;WIQLOrderBit&quot;: &quot;[System.ChangedDate] desc&quot;,
        &quot;LinkMigration&quot;: true,
        &quot;AttachmentMigration&quot;: true,
        &quot;AttachmentWorkingPath&quot;: &quot;c:\\temp\\WorkItemAttachmentWorkingFolder\\&quot;,
        &quot;FixHtmlAttachmentLinks&quot;: false,
        &quot;SkipToFinalRevisedWorkItemType&quot;: true,
        &quot;WorkItemCreateRetryLimit&quot;: 5,
        &quot;FilterWorkItemsThatAlreadyExistInTarget&quot;: true,
        &quot;PauseAfterEachWorkItem&quot;: false,
        &quot;AttachmentMaxSize&quot;: 480000000,
        &quot;CollapseRevisions&quot;: false,
        &quot;LinkMigrationSaveEachAsAdded&quot;: false,
        &quot;GenerateMigrationComment&quot;: true,
        &quot;NodeBasePaths&quot;: [
          &quot;Product\\Area\\Path1&quot;,
          &quot;Product\\Area\\Path2&quot;
        ],
        &quot;WorkItemIDs&quot;: null
      }
    ],
    &quot;Version&quot;: &quot;11.9&quot;,
    &quot;workaroundForQuerySOAPBugEnabled&quot;: false,
    &quot;WorkItemTypeDefinition&quot;: {
      &quot;sourceWorkItemTypeName&quot;: &quot;targetWorkItemTypeName&quot;
    },
    &quot;Endpoints&quot;: {
      &quot;InMemoryWorkItemEndpoints&quot;: [
        {
          &quot;Name&quot;: &quot;Source&quot;,
          &quot;EndpointEnrichers&quot;: null
        },
        {
          &quot;Name&quot;: &quot;Target&quot;,
          &quot;EndpointEnrichers&quot;: null
        }
      ]
    }
  }
  
  </code></pre>
  <p>Can someone please point me in the right direction? I have already verified that &quot;Task&quot; does indeed contain the ReflectedWorkItemId</p>