You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some 3rd party tools use custom link types, and they are breaking the Migration. Rather than fail, can we capture the failure as a [WRN] and [SKIP] that link? Here is some suggested code: I've tested this, it captures the error but does not break linking.
// Check for Null LinkTypeEnd: Third party Link type not supported by MigrationTool
if (rl.LinkTypeEnd == null)
{
string[] strWarning = { "[SKIP] Link Type = NULL: Invalid Link Type, must be manually migrated - Source: ",wiTargetL.ProjectName, " ", wiTargetL.Id };
Log.LogWarning(string.Concat(strWarning));
return;
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Some 3rd party tools use custom link types, and they are breaking the Migration. Rather than fail, can we capture the failure as a [WRN] and [SKIP] that link? Here is some suggested code: I've tested this, it captures the error but does not break linking.
FileName: TfsWorkItemLinkEnricher.cs
Line: 197
` private void CreateRelatedLink(WorkItemData wiSourceL, RelatedLink item, WorkItemData wiTargetL)
{
RelatedLink rl = (RelatedLink)item;
WorkItemData wiSourceR = null;
WorkItemData wiTargetR = null;
//INSERT CODE HERE
`
Beta Was this translation helpful? Give feedback.
All reactions