From aa30f555a4ec910c6fcc5d8491fd8822dc87bf7e Mon Sep 17 00:00:00 2001 From: cyrill Date: Fri, 24 Nov 2023 12:50:34 +0500 Subject: [PATCH] fix(core): base_url and queue params were wrong --- mapping.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mapping.py b/mapping.py index 0af2933..739f51f 100644 --- a/mapping.py +++ b/mapping.py @@ -54,7 +54,7 @@ def transform_data(data): def create_tasks_in_tracker(data): """ Создание задач в ЯндексТрекер """ - base_url = 'https://tracker.yandex.ru/APPSANDMOBILE' + base_url = 'https://tracker.yandex.ru/v2/issues' headers = { 'Host': 'https://api.tracker.yandex.net', 'Authorization': 'y0_AgAAAABAmFP8AArTqQAAAADyyFLmOoHqPprnRKag6B8okqjoDx2m9P0', @@ -63,6 +63,7 @@ def create_tasks_in_tracker(data): } for task in data: payload = { + 'queue': 'TESTIMPORT', # Вынести в переменную 'summary': task['summary'], 'description': task['description'], 'createdAt': task['createdAt'],