Add runbook link to ticket

This commit is contained in:
David McDonald
2020-04-02 09:42:46 +01:00
parent b28fffc330
commit 98d8388805
2 changed files with 2 additions and 1 deletions

View File

@@ -254,6 +254,7 @@ def raise_alert_if_letter_notifications_still_sending():
)
# Only send alerts in production
if current_app.config['NOTIFY_ENVIRONMENT'] in ['live', 'production', 'test']:
message += ". Resolve using https://github.com/alphagov/notifications-manuals/wiki/Support-Runbook#deal-with-letters-still-in-sending" # noqa
zendesk_client.create_ticket(
subject="[{}] Letters still sending".format(current_app.config['NOTIFY_ENVIRONMENT']),
message=message,