Created
October 6, 2019 06:26
-
-
Save iaindooley/ec36ef601fe3f845826078195ecca097 to your computer and use it in GitHub Desktop.
Add completed points to overview card
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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