Compare commits

..

No commits in common. "b3175bda4e732dead405d0127038cdc4ea0de3f7" and "aa30f555a4ec910c6fcc5d8491fd8822dc87bf7e" have entirely different histories.

View File

@ -8,8 +8,6 @@ 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',
@ -58,14 +56,14 @@ def create_tasks_in_tracker(data):
base_url = 'https://tracker.yandex.ru/v2/issues'
headers = {
'Host': 'api.tracker.yandex.net',
'Host': 'https://api.tracker.yandex.net',
'Authorization': 'y0_AgAAAABAmFP8AArTqQAAAADyyFLmOoHqPprnRKag6B8okqjoDx2m9P0',
'X-Org-ID': '35d164dcf81e48f2b6a532f4badddd33',
'Content-Type': 'Mobile&Apps/APPSANDMOBILE-1/json',
}
for task in data:
payload = {
'queue': 'TESTIMPORT', # Вынести в переменную
'queue': 'TESTIMPORT', # Вынести в переменную
'summary': task['summary'],
'description': task['description'],
'createdAt': task['createdAt'],