The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

i want to pass multiple list id in search api of trello how to do that

Hannah Rajput
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!
March 13, 2023

i am using trello search api in laravel to get the cards based on boards now want to get cards of multiple lists by sending more than two list ids in search api but i get empty array

this is how tried,

 

$list= 'list:list_id' . 'OR' .'list:list_id';
$query = array(
'actions' => 'all',
'query' => $id . ',' . $list,
'card_board' => true,
'board_fields' => 'id,name',
'cards_limit' => 10,
'cards_page' => $counts,
'card_members' => true,
'card_member_fields' => 'id,fullName',
'card_list' => true,
// 'card_fields' => 'id,desc,dateLastActivity,name,closed,due,labels',

'key' => my key,
'token' => 'my token'
);

$response = Http::get(
// 'https://api.trello.com/1/boards/' . $id . '/cards',
// $query
$query
);

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Theodoro Reato
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 14, 2023

Hey Hannah, 

Welcome to the community, 

This question would be better handled at: https://community.developer.atlassian.com/c/trello

Could you raise it there? You actually may find the answer before it with a search.

TAGS
AUG Leaders

Atlassian Community Events