Home » Visual StudioRSS

Unable to drop field to resolve conflict

I received a TFS WIT invalid field conflict type with the details "Source Item 16 (revision 1) contains Field Microsoft.VSTS.Common.Issue that does not exist on Work Item Type 'Task' of the target project '...'  I had this same error on a different config using an older version of the tool and was able to drop it without any problem.

After clicking the advanced button and then choosing to "Resolve invalid field conflict by dropping the field" I get a pop-up dialog that says: "Conflict resolution rule '...' is not applicable to the conflict of internal ID '14047'"

<?xml version="1.0" encoding="utf-16"?>
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" UniqueId="56f6212d-839e-4569-aad2-66a6b632046b" FriendlyName="VC &amp; WIT CM to SDI Test">
 <Providers>
  <Provider ReferenceName="2f82c6c4-bbee-42fb-b3d0-4799cabcf00e" FriendlyName="TFS 2008 Migration VC Provider" />
  <Provider ReferenceName="febc091f-82a2-449e-aed8-133e5896c47a" FriendlyName="TFS 2010 Migration VC Provider" />
  <Provider ReferenceName="663a8b36-7852-4750-87fc-d189b0640fc1" FriendlyName="TFS 2008 Migration WIT Provider" />
  <Provider ReferenceName="04201d39-6e47-416f-98b2-07f0013f8455" FriendlyName="TFS 2010 Migration WIT Provider" />
 </Providers>
 <Addins />
 <SessionGroup CreationTime="2010-06-09T16:18:34.05-06:00" FriendlyName="VC &amp; WIT CM to SDI Test" SessionGroupGUID="a3d57bdb-feca-4167-b100-429385eb647b" Creator="CORP\mellort" SyncIntervalInSeconds="0" SyncDurationInMinutes="0">
  <MigrationSources>
   <MigrationSource InternalUniqueId="70e3edfa-32f6-429f-bbc7-56b24b57839d" FriendlyName="CM (**********)" ServerIdentifier="45a15205-7ac2-4a1a-9cb3-38c12f9ff523" ServerUrl="http://**********:8080/" SourceIdentifier="CM" ProviderReferenceName="2f82c6c4-bbee-42fb-b3d0-4799cabcf00e">
    <Settings>
     <UserIdentityLookup />
     <DefaultUserIdProperty UserIdPropertyName="DisplayName" />
    </Settings>
    <CustomSettings>
     <CustomSetting SettingKey="EnableBypassRuleDataSubmission" SettingValue="true" />
    </CustomSettings>
    <StoredCredential />
   </MigrationSource>
   <MigrationSource InternalUniqueId="13cac1f4-82cb-4403-a272-5a063fe95d75" FriendlyName="SDI Test (**********)" ServerIdentifier="82e7e5da-8f59-4926-878d-e37863d11947" ServerUrl="http://**********:8080/tfs/tfscollection" SourceIdentifier="SDI Test" ProviderReferenceName="febc091f-82a2-449e-aed8-133e5896c47a">
    <Settings>
     <UserIdentityLookup />
     <DefaultUserIdProperty UserIdPropertyName="DisplayName" />
    </Settings>
    <CustomSettings>
     <CustomSetting SettingKey="EnableBypassRuleDataSubmission" SettingValue="true" />
    </CustomSettings>
    <StoredCredential />
   </MigrationSource>
   <MigrationSource InternalUniqueId="e1447463-731c-4284-8e4d-66c2abf83a1f" FriendlyName="CM (**********)" ServerIdentifier="45a15205-7ac2-4a1a-9cb3-38c12f9ff523" ServerUrl="http://**********:8080/" SourceIdentifier="CM" ProviderReferenceName="663a8b36-7852-4750-87fc-d189b0640fc1">
    <Settings>
     <UserIdentityLookup />
     <DefaultUserIdProperty UserIdPropertyName="DisplayName" />
    </Settings>
    <CustomSettings>
     <CustomSetting SettingKey="EnableBypassRuleDataSubmission" SettingValue="true" />
    </CustomSettings>
    <StoredCredential />
   </MigrationSource>
   <MigrationSource InternalUniqueId="27be97c0-b148-49a2-a6a8-502b92caedda" FriendlyName="SDI Test (**********)" ServerIdentifier="82e7e5da-8f59-4926-878d-e37863d11947" ServerUrl="http://**********:8080/tfs/tfscollection" SourceIdentifier="SDI Test" ProviderReferenceName="04201d39-6e47-416f-98b2-07f0013f8455">
    <Settings>
     <UserIdentityLookup />
     <DefaultUserIdProperty UserIdPropertyName="DisplayName" />
    </Settings>
    <CustomSettings>
     <CustomSetting SettingKey="EnableBypassRuleDataSubmission" SettingValue="true" />
    </CustomSettings>
    <StoredCredential />
   </MigrationSource>
  </MigrationSources>
  <Sessions>
   <Session CreationTime="2010-06-09T16:18:33.943-06:00" SessionUniqueId="859907c4-4e2e-45b3-b29e-e8399ed8be52" FriendlyName="Version Control Session" LeftMigrationSourceUniqueId="70e3edfa-32f6-429f-bbc7-56b24b57839d" RightMigrationSourceUniqueId="13cac1f4-82cb-4403-a272-5a063fe95d75" SessionType="VersionControl">
    <EventSinks />
    <CustomSettings>
     <SettingXml />
     <SettingXmlSchema />
    </CustomSettings>
    <Filters>
     <FilterPair Neglect="false">
      <FilterItem MigrationSourceUniqueId="70e3edfa-32f6-429f-bbc7-56b24b57839d" FilterString="$/CM" />
      <FilterItem MigrationSourceUniqueId="13cac1f4-82cb-4403-a272-5a063fe95d75" FilterString="$/SDI Test" />
     </FilterPair>
    </Filters>
   </Session>
   <Session CreationTime="2010-06-09T16:18:33.997-06:00" SessionUniqueId="d5c0c9f5-58b2-4655-8579-5123ad6595c8" FriendlyName="Work Item Tracking Session" LeftMigrationSourceUniqueId="e1447463-731c-4284-8e4d-66c2abf83a1f" RightMigrationSourceUniqueId="27be97c0-b148-49a2-a6a8-502b92caedda" SessionType="WorkItemTracking">
    <EventSinks />
    <CustomSettings>
     <SettingXml>
      <WITSessionCustomSetting>
       <Settings />
       <WorkItemTypes>
        <!-- Map only Bug to Bug 
        <WorkItemType LeftWorkItemTypeName="Bug" RightWorkItemTypeName="Bug" fieldMap="@@ALL@@" />
        -->
       </WorkItemTypes>
       <FieldMaps />
       <ValueMaps />
      </WITSessionCustomSetting>
     </SettingXml>
     <SettingXmlSchema />
    </CustomSettings>
    <Filters>
     <FilterPair Neglect="false">
      <FilterItem MigrationSourceUniqueId="e1447463-731c-4284-8e4d-66c2abf83a1f" FilterString="[System.AreaPath] UNDER 'CM'" />
      <FilterItem MigrationSourceUniqueId="27be97c0-b148-49a2-a6a8-502b92caedda" FilterString="[System.Id] = 0" />
     </FilterPair>
    </Filters>
   </Session>
  </Sessions>
  <Linking>
   <CustomSettings />
   <LinkTypeMappings />
  </Linking>
  <WorkFlowType Frequency="ContinuousManual" DirectionOfFlow="Unidirectional" SyncContext="Disabled" />
  <UserIdentityMappings UserIdLookupEnabled="false">
   <UserIdentityLookupAddins />
  </UserIdentityMappings>
  <ErrorManagement>
   <ErrorRouters />
   <ReportingSettings />
  </ErrorManagement>
 </SessionGroup>
</Configuration>

 

 

2 Answers Found

 

Answer 1

First, please check to see if the Scope of the rule  matches the Scope of the conflict.  If you didn't change it, then they should already match.  My guess is that you forgot to fill out the InvalidFieldReferenceName datafield, which in your case should be 'Microsoft.VSTS.Common.Issue'.  You can leave the UpdatedConfigurationId blank.

Because you don't have any explicit WorkItemType mappings defined, the radio button  (in the non-Advanced section) for 'Update the configuration by dropping  the field.' was probably disabled.  If you had defined WorkItemType mappings and field  mappings, you could choose this option to automatically modify your config  instead of having to use Advanced.

Please let me know if I can help you any further.  Thanks.

Andrew

 

Answer 2

Yes, that indeed got me past this error.  One possible change that could be made to the tool  is to pre-populate the InvalidFieldReferenceName field (or not require the field  to be populated) when the radio button  selected is to drop  the field.  Thanks so much for the support, I'm sure I'm going to have a lot more questions as we are moving dozens of projects.
 
 
 

<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Follow us on Twitter