diff --git a/capella2polarion/connectors/polarion_worker.py b/capella2polarion/connectors/polarion_worker.py index 3d9bf49..3cb0ed7 100644 --- a/capella2polarion/connectors/polarion_worker.py +++ b/capella2polarion/connectors/polarion_worker.py @@ -288,8 +288,8 @@ def compare_and_update_work_item( logger.info( "Delete work item links %r for model %s %r", id_list_str, - new.type, - new.title, + old.type, + old.title, ) self.project_client.work_items.links.delete( list(delete_links.values()) @@ -300,8 +300,8 @@ def compare_and_update_work_item( logger.info( "Create work item links %r for model %s %r", id_list_str, - new.type, - new.title, + old.type, + old.title, ) self.project_client.work_items.links.create( list(create_links.values())