Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created October 5, 2021 23:57
Show Gist options
  • Save iaindooley/99ff3d25f869e2b9d4311f692f888147 to your computer and use it in GitHub Desktop.
Save iaindooley/99ff3d25f869e2b9d4311f692f888147 to your computer and use it in GitHub Desktop.
createWorkspaceAddMembers
var members = [
'username1',
'username2',
'username3'
];
var target = new Trellinator().team("My New Workspace");//find or create
for(var i = 0;i < members.length;i++)
{
target.addMember(new Member({username: members[i]}));
console.log("Added: "+members[i]);
}
console.log("Done!");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment