From 2eca53794e98cc084a55bda25cf0999da2a2bd52 Mon Sep 17 00:00:00 2001 From: Alexander Hjelm Date: Thu, 12 Dec 2024 13:55:38 +0100 Subject: [PATCH] Remove bi-directional link (does not work in a cross-project scenario) --- src/WorkItemMigrator/JiraExport/JiraItem.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/WorkItemMigrator/JiraExport/JiraItem.cs b/src/WorkItemMigrator/JiraExport/JiraItem.cs index 179c489..38e951c 100644 --- a/src/WorkItemMigrator/JiraExport/JiraItem.cs +++ b/src/WorkItemMigrator/JiraExport/JiraItem.cs @@ -397,12 +397,6 @@ private static RevisionAction TransformLinkChange(JiraChangeItem item, } else { - if (linkType.Inward == linkType.Outward && sourceItemKey.CompareTo(targetItemKey) < 0) - { - Logger.Log(LogLevel.Debug, $"Link is non-directional ({linkType.Name}) and sourceItem ({sourceItemKey}) is older then target item ({targetItemKey}). Link change will be part of target item."); - return null; - } - return new RevisionAction() { ChangeType = changeType,