refactor(parent_mapping): check for gid existing
This commit is contained in:
		@@ -102,7 +102,7 @@ def create_tasks_in_tracker(data):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    for task in data:
 | 
					    for task in data:
 | 
				
			||||||
        if 'gid' not in task:
 | 
					        if 'gid' not in task:
 | 
				
			||||||
            continue
 | 
					            continue  # check gid existing
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if task.get('assignee') and 'gid' in task['assignee']:
 | 
					        if task.get('assignee') and 'gid' in task['assignee']:
 | 
				
			||||||
            ya_assignee = assignee.get(task['assignee']['gid'], 'dr.cyrill')
 | 
					            ya_assignee = assignee.get(task['assignee']['gid'], 'dr.cyrill')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user