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,551,813
Community Members
 
Community Events
184
Community Groups

How to send an email using a jira automation to an email address received in webhook payload?

How to send an email using a jira automation to an email address received in webhook payload?

Requirement: We want to call jira automation from external application which will send payload that contains email addresses to which email has to be send. Please help me to setup such jira automation rule. 

1 answer

0 votes
Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 15, 2021

Hi @Mayur Mehta ,

welcome to the Atlassian Community!

Did you try to use Incoming webhook trigger? There is {{webhookData}} smart value - you should be able to use it to get the values from the request.

Hello Hana,

Thanks for your answer. 

Could you please provide more details on the implementation side ?

How do I extract email address from the payload and use it in the recipient field of an email action in jira automation rule? 

Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 17, 2021

Hi @Mayur Mehta ,

how exactly does your payload look like? Thank you.

@Hana Kučerová 

My payload is as below

{

"id": "123",

"name": "abc",

"message": "test"

}

 

I want to send an email only when message = "warning"

Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 20, 2021

Hi @Mayur Mehta ,

thank you, but to be honest, I don't understand it now. I thought the recipient of the email should be obtained from the payload, but threre's only id, name and message.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events