chore(mapping): set API endpoint to _import

This commit is contained in:
cyrill 2023-11-27 17:22:04 +05:00
parent 5c037fe68d
commit db4f1b66e3

View File

@ -75,7 +75,7 @@ def transform_data(data):
def create_tasks_in_tracker(data): def create_tasks_in_tracker(data):
""" Создание задач в ЯндексТрекер """ """ Создание задач в ЯндексТрекер """
base_url = 'https://api.tracker.yandex.net/v2/issues' base_url = 'https://api.tracker.yandex.net/v2/issues/_import'
headers = { headers = {
'Host': 'api.tracker.yandex.net', 'Host': 'api.tracker.yandex.net',
'Authorization': 'OAuth y0_AgAEA7qkB3KjAArTqQAAAADzHp7Ut0nhAmx5Q_25b1jpqiuBXRIJksk', 'Authorization': 'OAuth y0_AgAEA7qkB3KjAArTqQAAAADzHp7Ut0nhAmx5Q_25b1jpqiuBXRIJksk',