Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Linking Cards within Trello Board Templates

I have a template board. Some of the cards have links to other cards within that template. When I create a new board from the template, the links do not link to the cards in the new board, but back to cards in the template. Is there a way for the template to generate the links to the cards generated on the new board instead of back to the main template?

1 answer

@Phil Alger 

I took a look at this to determine whether it can be achieved with some code.

Here's a preliminary findings

[{'id': '626b3dd23b21a34e81ca176c', 'idMemberCreator': '5ea12d36...ef7d', 'data': {'board': {'id': '626b3dd.....1ca15f1', 'name': 'Bug Tracker', 'shortLink': '018MiqGd'}, 'boardSource': {'id': '6228......83d5c', 'prefs': {'isTemplate': True}, 'templateCategory': 'engineering'}}, .................]

Assuming you are authorised to access both boards, it seems that the newly created board has the id of the sourceBoard.

Technically, you can run through the cardlinks on the new board, find out the name and listname on the source board - get the link of the equivalent card on the new board and replace the cardlink.

Depending on the number of cards, it can be fairly resource intensive.

Perhaps someone else might have a better and easier way to do this.

Thank you. Yes, I understand what you're saying. However, I'd like an easier way. Just wondering if there is one.

@Phil Alger 

With Trello Automation, I was able to setup the link to the corresponding card from the new board but yet to find a way to remove the cardlink to the template card. I tested it with one attachment via a card button.

@Phil Alger 

Having exhausted trying to use Trello Automation, I decided to create this endpoint

As it turns out, the program need not use the stuff shown above. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Trello

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristján Geir Mathiesen for sharing the picture of Taco having fun with his new friend  B...

2,398 views 28 41
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you