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

Webhook MS Teams Error 400

Revan Hernandy September 5, 2023

Hello,

 

We have MS Teams incoming webhook for changes in repo, now we're unable send with error code 400 and summary is 

Summary or Text is required.

1 answer

0 votes
Move Work Forward
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.
September 5, 2023

Hi,

Thanks for asking @Revan Hernandy 

Short answer: the way you send the notification to Microsoft Teams is incorrect. Your JSON payload does not contain required fields. If you provide more details how you do this - I can help further.

Long answer: you need to use a specific app, like Advanced Microsoft Teams Bitbucket Connector, that transforms Bitbucket webhook data into the specific Microsoft Teams message.

Please let me know if you got further questions.

Regards,
Leo

Revan Hernandy September 5, 2023

Hi Leo,

 

Appreciate the feedback. Actually, it worked like a charm previously, we are getting the hook into MS Teams. We don't need another connector, only use the  native BB Cloud webhook

Move Work Forward
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.
September 5, 2023

Probably, you generated an Incoming Webhook URL on the Microsoft Teams side which does not understand the Bitbucket. You may need to use a specific app on the Microsoft Teams side.

How do you generate the URL on the Microsoft Teams side?

Revan Hernandy September 5, 2023

I'm using Incoming Webhook for Teams

JP Roussel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 13, 2024

How did you get rid of the 400 error?

Hui Shan Lim
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 8, 2024

@Revan Hernandy, could you share how did you make it without another connector?

I bump into the same issue with bitbucket cloud.

Like Sebastián Caporale likes this
Sebastián Caporale
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 20, 2024

@Revan Hernandy hi! 

have you found any solution?

Thanks

Move Work Forward
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.
October 21, 2024

@Sebastián Caporale @Hui Shan Lim  You need to use something/app that converts Bitbucket format to Microsoft Teams format.

Check this out (a free app) - https://marketplace.atlassian.com/apps/1216365/advanced-microsoft-teams-bitbucket-connector?hosting=cloud&tab=overview

P.S. You also can create your own.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events