From f343d239151324bec1fc00a4ba050aea8ca3570e Mon Sep 17 00:00:00 2001 From: Pete Herlihy Date: Mon, 24 Oct 2016 13:01:23 +0100 Subject: [PATCH] Added new request to go live fields to deskpro tickets --- app/main/views/service_settings.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/main/views/service_settings.py b/app/main/views/service_settings.py index 3f90d2bdf..c4fdae628 100644 --- a/app/main/views/service_settings.py +++ b/app/main/views/service_settings.py @@ -110,10 +110,15 @@ def service_request_to_go_live(service_id): 'department_id': current_app.config.get('DESKPRO_DEPT_ID'), 'agent_team_id': current_app.config.get('DESKPRO_ASSIGNED_AGENT_TEAM_ID'), 'subject': 'Request to go live', - 'message': "On behalf of {} ({})\n\nUsage estimate\n---\n\n{}".format( + 'message': "On behalf of {} ({})\n\nExpected usage\n---\n\nChannel: {}\nStart date: {}\nStart volume: {}\nPeak volume: {}\nUpload or API: {}".format( current_service['name'], url_for('main.service_dashboard', service_id=current_service['id'], _external=True), - form.usage.data + form.channel.data, + form.start_date.data, + form.start_volume.data, + form.peak_volume.data, + form.upload_or_api.data + ) } headers = {