The gitlab help docs have test JSON body that you can use to test from postman:
{
“object_kind”: “merge_request”,
The error “…summary or text is required” is coming from MS Teams. The body needs to include a “summary”: “value” or “text”: “value” in the JSON body. Notice how the curl command has a value for “text”. That’s why it works. Why gitlab is not included this vital piece of data is unknown to me. Probably a defect.
I’m also seeing this trying to setup a webhook with teams, since I can’t find any other help documents around this I figured maybe bumping this would help.
You should rather set up a Teams webhook through Settinsg → Integrations → Microsoft Teams Notification and then on Teams side, you click on … next to a chat and add a incoming hook connector with the URL you get from gitlab.