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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.