How do i display the "query string" or JSON received from the incoming webhook into custom email

Vinod Honnalli
Contributor
July 15, 2020

Hi All,

I am new to using incoming webhooks in Jira cloud Automation.

I have an incoming webhook configured to receive it from some source application, so along with issuekey some information like "errorMessage" is sent in JSON body. I would like to capture the "error massage" and display it on the email notification.

I tried below options, but no success :( 

Erorr 1: {{webhookQuery.errorMessage}}
Error 2: {{webhookData.errorMessage}}
Error 3: {{webhook.Data.errorMessage}}
Error 4: {{webhook.Query.errorMessage}}
Error 5: {{webhook.query.errorMessage}}
Error 6: {{webhook.data.errorMessage}}

Is there any way to achieve this in Jira cloud automation. Please suggest.

 

Regards,

Vinod 

1 answer

1 accepted

0 votes
Answer accepted
Vinod Honnalli
Contributor
July 20, 2020

Hey all, found the solution.

Sujaira July 20, 2020

What was the solution? 

Vinod Honnalli
Contributor
July 20, 2020

I sent the JSON body instead of query string and was able to receive information using {{webhookData.errorMessage}} notation.

Regards,

Vinod

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events