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 setNewCardId(notification) | |
{ | |
new Notification(notification) | |
.createdCard() | |
.setCustomFieldValue("Unique ID",latestCardId()); | |
} | |
function latestCardId() | |
{ | |
var card = Card.findOrCreate(Board.findOrCreate("System Configuration").findOrCreateList("Card ID"),"Latest Card Count"); |