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

send automated emails with an email on the description field

Hey everyone.

I hope you are all doing well today.

 

I would like to ask if it is possible to create an automation which sends an email to an email written in the description field. Will give an example.

Issue Summary -> Onboarding: john.kai@test.io

Description ->  

Dear Infrastructure Team,

The following employee is joining us:

First name: John
Surname: Kai
Department: Demand
Teams: Demand IT
Supervisor: lucas.souza@test.io

 

The automation should be able to send an email to lucas.souza@test.io when the issue is created, can I get the supervisor's email with an automation and send an email to the supervisor?

 

thanks a lot 

2 answers

2 votes
Kseniia Trushnikova
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 29, 2023

Hi @Lucas de Souza,

Sure, try to use this regex to get email from Description:

{{issue.description.match("([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+)")}}

You can create variable with this regex and then use it in the action Send email, here's the example:

Screenshot 2023-10-29 at 13.01.05.png

Screenshot 2023-10-29 at 13.02.47.png

Hope it helps.

Hello @Kseniia Trushnikova 

I will test this solution and let you know if it works.

thanks a lot.

0 votes
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 29, 2023

@Lucas de Souza -

In addition to what @Kseniia Trushnikova suggested, please note that by default in each JSM project, there is also the project notification configuration where default system notification can be configured to send to specific users too without the need of automation rule on issue creation event.

The default system notification is different than the custom email content.

Hope this also helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events