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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,717 views 10 16
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