Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trello API sync members

electrize
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 17, 2018

Hello,

I have a project similar to Trello and I'm successfully using the api to sync tasks.

I want also to make synchronization of members. But to do this I need to get emails from Trello, because in my database I only have emails of the users. From what I see in the API documentation, there is only a way to get id and username.

Is there some way to get emails from Trello?
Also is there a way to add member to Trello remotely (with the API)?
Any suggestions how I can do that member syncing are welcome.

I also have problems syncing comments on tasks. It appears they aways sync in Trello with the names of the Trello board owner. Is there any option to add comment remotely and to change owner of the comment?

Thank you!


1 answer

1 vote
Oscar Triscon
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 17, 2018

Hi Nikola,

Both your issues have the same solution: you need to get the other users to authorize your application (see https://developers.trello.com/docs/api-introduction#section--a-name-auth-authentication-and-authorization-a-) and obtain a token for each user in order to act on their behalf.

Once you have a user's token for your application, you can issue comments on their behalf, and their email address will be returned when you request the member record using the user's token.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events