Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created April 26, 2019 04:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iaindooley/94e91b4a5a656803f52fcff011c33e3c to your computer and use it in GitHub Desktop.
Save iaindooley/94e91b4a5a656803f52fcff011c33e3c to your computer and use it in GitHub Desktop.
Update board card
function updateBoardCard(notification)
{
var card = new Notification(notification).movedCard("Complete");
if(card.name().toLowerCase() == "first sale")
{
card.board().card("Board Card Link").cardsLinkedInAttachments().first().addSticker("check");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment