Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created February 13, 2019 01:34
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/503870a43d4669513ce5303cb5689aa0 to your computer and use it in GitHub Desktop.
Save iaindooley/503870a43d4669513ce5303cb5689aa0 to your computer and use it in GitHub Desktop.
Add member to team boards
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