You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello,
I'm trying to extract a part of the description from Card A when a new Card B is automatically created after a checklist item is validated.
Here's an example of Card A description:
{{S1_SU001}} bla bla...
{{S1_SU002}} blublu ...
etc
the rul:
when an item is checked in a card in list "Sprint Backlog" with a name starting with "Sprint", convert the item to a linked card copying labels, move the card to the top of list "Sprint en cours", add the "Etapes Dev" checklist to the card, and set the card's description to {extract(triggerCardDescription, "{{" & left(trim(checkedItemName), 8) & "}}(.*?){{", 1)}
the new card was generated but get nothing in the description.
I also tried {triggerCardDescription}, but it didn't work either.
Can you help me extract the description from Card A and add it to Card B? And how can I correct the expression
{extract(triggerCardDescription, "{{" & left(trim(checkedItemName), 8) & "}}(.*?){{", 1)} )
Thanks a lot for your time.
This is not compatible with Trello automation. You can use markdown for formatting and you can use Regex to extract particular parts of the description of card A. Lets start with the basics though:
Your command will work if you do:
when an item is checked in a card in list "Sprint Backlog" with a name starting with "Sprint", convert the item to a linked card copying labels, move the card to the top of list "Sprint en cours", add the "Etapes Dev" checklist to the card, and set the card's description to {triggercarddescription}
or...
when an item is checked in a card in list "Sprint Backlog" with a name starting with "Sprint", convert the item to a linked card copying labels, move the card to the top of list "Sprint en cours", add the "Etapes Dev" checklist to the card, and set the card's description to {triggercarddescription}: {checklistitemname}
ok i got
the description
or
the description : the cheklistitemname
It look like only trigger can have regex so I try:
when the description of a card contains "regex:/({cardname}[\s\S]+:{cardname})", set the card's description to "{matchedtext}", and rename the card to "{cardname} ()"
but it dosent work...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok have it whithout regex =)
when the description of a card in list "Sprint en cours" contains "{cardname}{*}{cardname}", set the card's description to "{matchedtext}", and rename the card to "{cardname} ()"
thanks for help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.