Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mayur Mehta ,
how exactly does your payload look like? Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My payload is as below
{
"id": "123",
"name": "abc",
"message": "test"
}
I want to send an email only when message = "warning"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.