Forums

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

Creating a card from template and connecting with the clicked card

Zdeněk Nováček March 29, 2022

Hello,

I would like to create a button that will make a copy of the card from the card template and then connects this newly created card with the card from which I clicked the button. And also if I could rename a new card from randonName1 to the end of the card name from which the button was clicked that would be a bonus. (the beginning of the card name from which I am clicking is always the same)

Thank you for your help

3 answers

2 accepted

1 vote
Answer accepted
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.
March 29, 2022

@Zdeněk Nováček 

Is this what you are looking for

find a card titled "A Template Card", copy the card to the top of list "Inbox", find a card with link "{copycardlink}", add link "{triggercardlink}", and rename the card to "{triggercardname}"

1 vote
Answer accepted
Hannah Humbert - Simpla Workflows
Community Champion
March 29, 2022

Hi @Zdeněk Nováček ! When it comes to card button actions, you can either copy the "trigger" card or create a new card. It doesn't look like it's possible to create an action that says "copy another specific card". 

However, when setting the action to create a new card, you can define in your command to add all of the things that are in your template card (checklists, labels, description, etc.)

When it comes to taking a specific word or phrase from a trigger card and applying it to the "action" card, you can achieve this using wildcards. The trigger needs to include a wildcard I believe, so I'm not sure you can use wildcards in card buttons. You can use it in a rule though. So if your command was to trigger based on a label application for example, rather than the click of a button, your rule could look something like this:

When the "Copy" label is applied to a card with a name containing "TEST {*}", create a new card with title "{wildcard1}", with description "xxx", in list "X", and add the "X" checklist from card "Template", and link the cards together


The "name containing part" would contain the beginning of the card name which is always the same. So if the "trigger" card is called "TEST 12345", when applying the custom label to this card, a new card will be created called "12345" with all the predefined information.

If you'd prefer to use the card button method, you just won't be able to use wildcards AFAIK.

0 votes
Zdeněk Nováček March 29, 2022

Thank you for your answers, they put me on a right path which was successful. I am uploading screens bellow. I create multiple card from templates by clicking one button, then I connect them from the card that was clicked and finally rename the card if needed. Renaming the card had to be done by rules, separate from the button function.

Rename rule:

Snímek obrazovky 2022-03-30 v 8.37.52.png

Button function:

Snímek obrazovky 2022-03-30 v 8.40.03.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events