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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,456,145
Community Members
 
Community Events
176
Community Groups

Creating a card from template and connecting with the clicked card

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 Mar 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 Morgan Community Leader Mar 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.

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

Atlassian Community Events