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: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Adam Cao
Atlassian Partner
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!

TAGS
AUG Leaders

Atlassian Community Events