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

Change current board through trello iframe

Allan Silva March 30, 2023

I have a power-up that, through the current board, shows the user their lists and tasks.
In the same iframe, I can show the user the other boards and their ids.


How can I change boards (reload the screen, changing lists and tasks displayed) using Trello.iframe?

Or, how can I pass other board id to the trello instance?

1 answer

1 accepted

0 votes
Answer accepted
Adam Cao
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
April 1, 2023

You can use t.navigate to change the current board:

t.navigate({ url: `https://trello.com/c/${boardId}` }); 

You can also use t.showCard to open a card on the current board:

t.showCard(cardId);

See: https://developer.atlassian.com/cloud/trello/power-ups/ui-functions/navigation/

Allan Silva April 5, 2023

Thanks a lot guy!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events