refactor(mapping): add TESTIMPORT
This commit is contained in:
parent
bdd6b2ab67
commit
b3175bda4e
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user