Hi, I've setup an automation sending a message to microsoft teams when an issue is commented. I followed the instructions in the action details (add connector in teams channel, copy webhook url, paste it into automation action).
When the rule is triggered I get an error:
Error communicating with the API400 - Webhook Bad Request - null or empty eventType
On the other side, if I set up the same webhook communication via Jira system settings -> webhook -> create new webhook and send messages from there, it works.
what am i doing wrong?
Try using a different Connector on MS Teams side called Incoming Webhook.
Hi Martin,
Thanks for your suggestion. I had the same error of Webhook Bad Request - null or empty eventType.
I tried your suggestion and it worked perfectly.
regards,
zaldy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem and same fix worked. Thanks for asking @zaldy parian and thanks for answering @Martin Ceska
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What should I do if I cannot see this webhook? Does it need to be enabled from somewhere else?
I've tried to follow: Create an Incoming Webhook - Teams | Microsoft Docs.
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.
Thanks Guys
Mine worked better with the Incoming Webhook.
No errors :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Most likely this is caused by trying to send the request to a JIRA Cloud connector hook in Teams instead of a (generic) Incoming Webhook connector hook.
Edit: Seems like this was already answered above.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for your reply, worked on my end. Do you know the technical difference between both solutions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The issue is that JIRA is sending a different JSON response when doing it from a transition , vs those checkboxes.
I hooked up the webhook to a https://webhook.site/ and when I pushed the response along to to MS teams - I got "Webhook Bad Request - null or empty eventType" - which it doesn't have
Only the ones triggered from "created, updated" have this metadata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Has this been investigated further yet as i'm attempted to trigger a webhook into a Microsoft Teams Channel based off a simple JQL query.
I tried to use Incoming Webhook but to no avail, any suggestions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
[Not the answer] I have the same question.
I want to use the automation action and when I use in conjunction with creating new webhook in the way Oliver describes, it does send a message to Teams. However, all the formatting and message content that I created in automation is not used.
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.