refactor(parent_mapping): check for gid existing

This commit is contained in:
Angelina Tingaeva 2023-12-05 18:29:31 +05:00
parent 24a409cfcf
commit af2805d793

View File

@ -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')