From af2805d7935848802a7826f22519baa63cc2a80d Mon Sep 17 00:00:00 2001 From: Angelina Tingaeva Date: Tue, 5 Dec 2023 18:29:31 +0500 Subject: [PATCH] refactor(parent_mapping): check for gid existing --- mapping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapping.py b/mapping.py index 1a71386..56bb889 100644 --- a/mapping.py +++ b/mapping.py @@ -102,7 +102,7 @@ def create_tasks_in_tracker(data): for task in data: if 'gid' not in task: - continue + continue # check gid existing if task.get('assignee') and 'gid' in task['assignee']: ya_assignee = assignee.get(task['assignee']['gid'], 'dr.cyrill')