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

Trello search API issue

traqnext traqnext
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!
September 8, 2023

Hi. I have implemented Trello search API to fetch the member and its related bords and cards (https://api.trello.com/1/search?query=member:{member_id}&card_fields=name,shortLink,idBoard&cards_limit=1000&card_board=true&key={key}&token={token}).

I tested the API with a few accounts but the issue is it does return cards and boards of only one account but not for the others although it does return the member information for other accounts but not cards and boards. Is there any issue regarding the account setup or what, as I set up all accounts with the same configurations?

Moreover, I tired this API as well (https://api.trello.com/1/members/{memeber)id}?key={key}&token={token}&cards=all&boards=all&board_lists=all) but still the same issue.

Any help will be appreciated.

Thanks

1 answer

0 votes
Vishaal S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 11, 2023

Hey there,

Vishaal here with the Trello Team—Thanks for reaching out

It's possible that the discrepancy you're observing stems from a few key factors. Firstly, ensure that the token you're using for the API has the correct permissions; it should reflect the access rights of the associated user. If a user doesn't have access to a certain board, the API won't display its cards, even when querying for another member. Additionally, each board on Trello has its own visibility settings (private, team, or public). If a board is private and the querying member isn't part of it, it won't appear in the results. It's also essential to confirm that the member in question has associated boards and cards by checking manually on the Trello web interface.

In future, For a question like this, Trello's Developer Community is really your best bet: https://community.developer.atlassian.com/c/trello/42

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events