diff --git a/data/users.mapping.asana2ya.csv b/data/users.mapping.asana2ya.csv index 57724b6..38bb725 100644 --- a/data/users.mapping.asana2ya.csv +++ b/data/users.mapping.asana2ya.csv @@ -4,6 +4,6 @@ Diza,2495641457856,irina.ux Никита,547756841476,nikita Cyrill Gafarov,2934206415688,dr.cyrill Илья,1203071663735925,dr.cyrill -Sergey Volodin,1202859655765863,segavol +Sergey Volodin,1202859655765863,segavol.dev Malkova,698025068994499,malkova.content IrinaOs,1204278463134045,irina.ux diff --git a/mapping.py b/mapping.py index f88be69..7647662 100644 --- a/mapping.py +++ b/mapping.py @@ -89,8 +89,8 @@ def create_tasks_in_tracker(data): for task in data: if task.get('assignee') and 'gid' in task['assignee']: ya_assignee = assignee.get(task['assignee']['gid'], 'dr.cyrill') - elif task.get('assignee') == 'segavol': - ya_assignee = 'dr.cyrill' + # elif task.get('assignee') and 'name' == 'segavol' in task['assignee']: + # ya_assignee = assignee.get(task['assignee']['gid'], 'segavol.dev') else: ya_assignee = 'dr.cyrill'