How to modify the Card's title with a portion of the description's text with Automation

Giancarlo Giuliano
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 2, 2024

Hello,

I have a question.

When I add a new card on a list, I would like to change the title with part of the description which contains the name of the client.

For example, in the description (very long) I have the client's name in the middle, I would like to put it in the title, so i can read the name without open the card itself.

Example of the Title: Assegna a tecnico TKT: 02897214

Example of the text I would like to overwrite in title: 

Seriale:

260292268

Richiesta:

Assistenza tecnica Modello: VX520DGEMCV2-ISP

Cliente:

Penny Market Billa Ag Penny Market Spa - Sig.:.
CSO EUROPA SNC GIARRE (CT)
tel:095444444 - 0 - 3479609536 - 33311111111111

Descrizione:

Assistenza tecnica VX520DGEMCV2-ISP
Ticket: 242092369004 - sostituire pos e alim TID 97411420: SIM (8939104150005204069) Soluzione da installare: Desktop GPRS Modello: VX520DGEMCV2-ISP Alias Ordine di Lavoro: K24N000017154 P.Iva: IT12619750156 Vecchio ser: 260292268 Vecchio mod: VX520DGEMCV2-ISP [...]

I would like to parse out the text AFTER "Cliente:" and before - SIG.:.

 

Can anyone explain me how to do it? If using wildcards, can you explain WHERE should I write the conditions in the Trello free account?

Thanks!

2 answers

1 accepted

2 votes
Answer accepted
Dreamsuite Mike
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 23, 2024

Hi @Giancarlo Giuliano 

You can use regex for this. 

Bear in mind, you need to be sure that the text (including formatting) is consistent...

Automation:

when the description of a card contains "regex:/Cliente:\*\*\n\n(.*) - \*\*Sig/", rename the card to {cardname} - {wildcard1}

Screenshot 2024-05-24 09.42.23.png

 

There is a help page on pattern matching and wildcards 

https://support.atlassian.com/trello/docs/pattern-matching-and-wildcards/ 

 

The regex support is a secret feature of automation that is shrouded in mystery šŸ˜

Check out  https://regex101.com/ for more info and a test console. I also included regex in some of my articles...Check out this one:

https://community.atlassian.com/t5/Trello-articles/Mikes-Trello-Tips-Automation-to-truncate-a-numeric-custom-field/ba-p/2385182 

0 votes
Dreamsuite Mike
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 5, 2024

Hi @Giancarlo Giuliano 

 

Did my answer help you?  If you have any follow-up, please let me know.  If you are happy, please click the accept answer so this clears out of the unanswered questions list

 

Cheers,

 

Mike

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events