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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Jira Automation Microsoft Teams Message with Error 400

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?

5 answers

Try using a different Connector on MS Teams side called Incoming Webhook.

Zaldy Parian
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.
Jun 10, 2020

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

Same problem and same fix worked. Thanks for asking @zaldy parian  and thanks for answering @Martin Ceska 

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

Like Matteo Erriu likes this

Has anyone encounter similar issue?

Like # people like this

Thanks Guys

Mine worked better with the Incoming Webhook.

No errors :)

Like Matteo Erriu likes this

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.

Hi @Kurt Martinsen 

thanks for your reply, worked on my end. Do you know the technical difference between both solutions?

Like Matteo Erriu likes this

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

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?

[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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events