Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Fetch Trello Workspace Member List? Edited

Is there a way to fetch the Trello User IDs (like @id) or Emails of every Workspace Member within a Trello Workspace? Just a simple list with the User IDs or Emails separated by either Semicolons or New Lines.

EDIT: So I have been reading through the Trello API Group Actions and I did discover Get Members of an Organization. Based on this, I figured out how to perform this GET call:

https://api.trello.com/1/organizations/epochgames/members?key={apiKey}&token={apiToken}

What is printed out is a list of the following:

{

  • "id": "{24-hexadecimal-hash}",
  • "fullName": "{Name of User}",
  • "username": "{userID}"

},

This is what I'm looking for as per the Question Title, but I'm wondering: is there a way to JUST print the User ID in an ordered list of some kind?

1 answer

0 votes
Iain Dooley Community Leader Jul 21, 2021

@Matthew Norman yep this function would do it:

https://gist.github.com/iaindooley/55bba6c3b0177462399949d96d9b43dc

You can run that as an adhoc in the BenkoBot platform:

http://www.benkobot.com/

If you click this link then enter your API key/token you can then store and run the code directly, you just need to edit the workspace name before you store it:

Click to preview code in BenkoBot 

Was this you on Reddit?

https://www.reddit.com/r/trello/comments/oo5vgy/copy_members_between_workspaces/

Yep that's me! I wanted to see if Trello API could print out the list of User IDs / Emails, but it looks like BenkoBot can do this far easier.

I'm surprised that Trello itself doesn't have a more robust User List that will list Full Names, Usernames and Email Addresses in separate columns, and one that could be sorted by Ascending/Descending Order by Full Name, Username or Email Addresses. Oh well, maybe in the future?

Iain Dooley Community Leader Jul 22, 2021

@Matthew Norman yeah BenkoBot is just a cloud runner for Trellinator, a library I wrote to provide a "butler-like" JavaScript wrapper for the  Trello API:

http://docs.trellinator.com

There are more examples of how to use it here:

https://trello.com/b/IoHmhz5c/benkobot-community-board

and tonnes of examples in my gist history:

https://gist.github.com/iaindooley/

Like Matthew Norman likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

166 views 2 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you