Last active
March 18, 2020 23:24
-
-
Save iaindooley/d5554c7030ad2fe10274c50d03cd763b to your computer and use it in GitHub Desktop.
Create report
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 createReport(params,signature,original_time) | |
{ | |
new Board(params).cards().each(function(card) | |
{ | |
card.checklist("Actions").remove(); | |
card.addChecklist("Actions",function(list) | |
{ | |
try | |
{ | |
card.boardsLinkedInAttachments().first().list("Action").cards().each(function(loop) | |
{ | |
list.addItem(loop.mobileFriendlyLink()); | |
}); | |
} | |
catch(e) | |
{ | |
Notification.expectException(InvalidDataException,e); | |
} | |
}); | |
}); | |
ExecutionQueue.push("createReport",params,signature,original_time.addDays(1).at("9:00")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment