Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created April 26, 2019 05:02
Show Gist options
  • Save iaindooley/87d407118d9b995733b3b7d57f9fb668 to your computer and use it in GitHub Desktop.
Save iaindooley/87d407118d9b995733b3b7d57f9fb668 to your computer and use it in GitHub Desktop.
Record label adding
function recordLabelAdding(notification)
{
var notif = new Notification(notification);
var label = notif.addedLabel();
SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Label Audit Trail").appendRow(
[Trellinator.now(),label.name(),label.card().link(),notif.member().name()]
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment