refactor(mapping): add TESTIMPORT

This commit is contained in:
Angelina Tingaeva 2023-11-24 13:33:17 +05:00
parent bdd6b2ab67
commit b3175bda4e

View File

@ -8,6 +8,8 @@ from yandex_tracker_client import TrackerClient
YANDEX_TRACKER_TOKEN = 'y0_AgAAAABAmFP8AArTqQAAAADyyFLmOoHqPprnRKag6B8okqjoDx2m9P0'
ORG_ID = '35d164dcf81e48f2b6a532f4badddd33'
TESTIMPORT = 'https://tracker.yandex.ru/pages/projects/5'
client = TrackerClient(
token='YANDEX_TRACKER_TOKEN',
@ -63,7 +65,7 @@ def create_tasks_in_tracker(data):
}
for task in data:
payload = {
'queue': 'TESTIMPORT', # Вынести в переменную
'queue': 'TESTIMPORT', # Вынести в переменную
'summary': task['summary'],
'description': task['description'],
'createdAt': task['createdAt'],