I have configured a MS Teams webhook in my bamboo server such that if the plan build fails then I should get a message on the configured teams channel. However, I am running into the following the error right now:
Exception message 400 : "Summary or Text is required.
The request headers is
[content-type:"application/json"]
The request body is
{
"uuid": "XXXXXX",
"timestamp": "2023-07-12 17:51:07 +0800",
"notification": "Completed Plan Notification",
"webhook": {
"webhookTemplatedId": "2200174593",
"webhookTemplatedName": "Build webhook"
},
"build": {
"buildResultKey": "CSP-CSV-464",
"status": "FAILED",
"buildPlanName": "Combined Synthetic Position - CSP - Stress (VM)",
"startedAt": "2023-07-12 17:46:47 +0800",
"finishedAt": "2023-07-12 17:51:07 +0800",
"triggerReason": "Manual build",
"triggerSentence": "was manually triggered by jjain"
}
}
Can anyone please help me resolve this?