Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created October 6, 2019 06:26
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/ec36ef601fe3f845826078195ecca097 to your computer and use it in GitHub Desktop.
Save iaindooley/ec36ef601fe3f845826078195ecca097 to your computer and use it in GitHub Desktop.
Add completed points to overview card
function addCompletedPointsToOverviewCard(notification)
{
var moved = new Notification(notification).movedCard("Done");
var overview = moved.board().card("Points Overview");
overview.setCustomFieldValue("Total Points",overview.customFieldValue("Total Points")+moved.customFieldValue("Points"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment