Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to access the data received on Incoming Webhook

Tejesh Gangari February 22, 2023

Hello,

1. I have configured an Incoming Webhook as shown below

image.png

2. I have created an action, Send Web Request. Here I am trying to trigger a POST call to another tool, where I want to add Custom body with the data that is received on the above configured Incoming Webhook.

I tried adding something like below in the Custom body,

{
"projectKey": "VTWO",
"testPlanKey": "VTWO-P6",
"name": "Exam Front Test Plan",
"status": {{webhookData.status}},
"items": [
{
"testCaseKey": {{webhookData.journey_executions[0].test_cases[0]},
"status": {{webhookData.status}},
}
]
}

But when I validate the action, it says "Invalid smart value expression in custom body,"

Can you please help me understand how to access the Payload the received on the Incoming Webhook and use it in the Custom Body section of Send Web Request Action.

Thanks,

Tejesh.

1 answer

0 votes
Marini Marini
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 23, 2023

Hi @Tejesh Gangari 

You have an extra curly bracket in:
"testCaseKey": {{webhookData.journey_executions[0].test_cases[0]},
It should be:
"testCaseKey": {webhookData.journey_executions[0].test_cases[0]},
Please try again.
Regards,

Marini

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events