Created
October 5, 2021 23:57
-
-
Save iaindooley/99ff3d25f869e2b9d4311f692f888147 to your computer and use it in GitHub Desktop.
createWorkspaceAddMembers
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
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