Last active
April 26, 2019 06:13
-
-
Save iaindooley/11ad5d5effdb62e4c1f0ca0246aed238 to your computer and use it in GitHub Desktop.
Round robin
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 roundRobin(notification) | |
{ | |
var card = new Notification(notification).createdCard("Inbox"); | |
//You will need a list called "Round Robin" with one card per | |
//team member in it, with the name of the card being the member | |
//name for this to work | |
var rr_list = card.board().list("Round Robin"); | |
var assignee = rr_list.cards().first(); | |
card.addMember(new Member({username: assignee.name()})); | |
assignee.moveToList(rr_list,"bottom"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment