Created
February 13, 2019 01:34
-
-
Save iaindooley/503870a43d4669513ce5303cb5689aa0 to your computer and use it in GitHub Desktop.
Add member to team boards
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 addMemberToTeamBoardsByEmail() | |
{ | |
new Trellinator().team("My Team").boards().each(function(board) | |
{ | |
board.inviteMemberByEmail("user@domain.com"); | |
}); | |
} | |
function addMemberToTeamBoardsByUsername() | |
{ | |
new Trellinator().team("My Team").boards().each(function(board) | |
{ | |
board.addMember(new Member({username: "teammember"})); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment