Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,645
Community Members
 
Community Events
165
Community Groups

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.

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

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.

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
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,198 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you