Skip to content

Instantly share code, notes, and snippets.

@danielbloom
Last active August 13, 2018 16:11
Show Gist options
  • Save danielbloom/b7377fcf07bdd88385330f95fd411891 to your computer and use it in GitHub Desktop.
Save danielbloom/b7377fcf07bdd88385330f95fd411891 to your computer and use it in GitHub Desktop.
Default lamda handler method
def lambda_handler(event, context):
jira_assignments = get_jira_assigments()
for email_address, tickets in jira_assignments.items():
body_html = generate_email_html(tickets)
body_text_only = generate_email_text(tickets)
send_reminder_email(email_address, body_html, body_text_only)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment