Forums

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

Linking Cards within Trello Board Templates

Phil Alger
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!
April 28, 2022

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

0 votes
milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 28, 2022

@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.

Phil Alger
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!
April 28, 2022

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

milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 28, 2022

@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.

milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 29, 2022

@Phil Alger 

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

https://github.com/xu2xulim/Superhero/blob/a2635acde86e37e1723b95ca2bc75a17f1eb6e39/Superhero%20on%20deta/Micros/Templates.md

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events