[Question]: Work item type custom fields migration #1585
Unanswered
tzavalunovaG
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Version
Source Version
Azure DevOps Service
Target Version
Azure DevOps Service
Relevant configuration
No response
Relevant log output
No response
What happened?
Hi,
I'm trying to migrate User Story work item type (with couple of extra fields) to another project with already existing User Story. Idea is to sync User Story between two projects. Migration process fails to migrate added custom fields because of line below in ProcessDefinitionProcessor.cs.
if (!sourceGroup.Inherited) // It's a custom group
While debugging I bypassed this check and custom fields got migrated. I also had to comment out line in WorkItemPage.UpdateWithExisting method. Despite of the comment I did not receive mentioned error message.
Sections = null;// existing.Sections; // You will see 'The value specified for the following variable must be null: Sections.' If you try to update Sections
Why do we need to prevent inherited groups migration as it seems works correctly even when if group is inherited?
Thank you
Debug in Visual Studio
Beta Was this translation helpful? Give feedback.
All reactions