refactor(mapping):not push
This commit is contained in:
parent
67ced5c4db
commit
8c39c31f43
@ -8,7 +8,7 @@ from yandex_tracker_client import TrackerClient
|
|||||||
|
|
||||||
YANDEX_TRACKER_TOKEN = 'y0_AgAAAABAmFP8AArTqQAAAADyyFLmOoHqPprnRKag6B8okqjoDx2m9P0'
|
YANDEX_TRACKER_TOKEN = 'y0_AgAAAABAmFP8AArTqQAAAADyyFLmOoHqPprnRKag6B8okqjoDx2m9P0'
|
||||||
ORG_ID = '35d164dcf81e48f2b6a532f4badddd33'
|
ORG_ID = '35d164dcf81e48f2b6a532f4badddd33'
|
||||||
TESTIMPORT = 'https://tracker.yandex.ru/pages/projects/5'
|
# TESTIMPORT = 'https://tracker.yandex.ru/pages/projects/5'
|
||||||
|
|
||||||
|
|
||||||
client = TrackerClient(
|
client = TrackerClient(
|
||||||
@ -43,7 +43,7 @@ def transform_data(data):
|
|||||||
'description': task['notes'],
|
'description': task['notes'],
|
||||||
'createdAt': task['created_at'],
|
'createdAt': task['created_at'],
|
||||||
'deadline': task['due_on'],
|
'deadline': task['due_on'],
|
||||||
'assignee': task['assignee'],
|
# 'assignee': task['assignee'],
|
||||||
# 'milestone': task['section'],
|
# 'milestone': task['section'],
|
||||||
# 'memberships': task['memberships'],
|
# 'memberships': task['memberships'],
|
||||||
# 'parent': task[''],
|
# 'parent': task[''],
|
||||||
@ -70,7 +70,7 @@ def create_tasks_in_tracker(data):
|
|||||||
'description': task['description'],
|
'description': task['description'],
|
||||||
'createdAt': task['createdAt'],
|
'createdAt': task['createdAt'],
|
||||||
'deadline': task['deadline'],
|
'deadline': task['deadline'],
|
||||||
'assignee': task['assignee'],
|
# 'assignee': task['assignee'],
|
||||||
# 'milestone': task['milestone'],
|
# 'milestone': task['milestone'],
|
||||||
# 'memberships': task['memberships'],
|
# 'memberships': task['memberships'],
|
||||||
# 'parent': task['parent'],
|
# 'parent': task['parent'],
|
||||||
|
Loading…
Reference in New Issue
Block a user