Skip to content

Instantly share code, notes, and snippets.

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/93b3189047cb7757314d91fe4fefb650 to your computer and use it in GitHub Desktop.
Save iaindooley/93b3189047cb7757314d91fe4fefb650 to your computer and use it in GitHub Desktop.
Set custom field value to ID
function setPurchaseOrderNumber(notification)
{
var card = new Notification(notification).createdCard();
card.setCustomFieldValue("PO",TrelloApi.cardLinkRegExp().exec(card.link())[1]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment