Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Webhook not sending notification to Ms Teams channel

Oumaima Laasri October 4, 2022

Hello the community,

We have a problem that block us, we configured some webhooks that triggered if an event Ticket updated or created .... 

But the notifications not sending to Ms teams channel, we don't receive anything.

After a discussion with atlassian support they confirm that jira side all is good we have an error on the Ms teams side but we don't know how to fix that.

Here is the error :

2022-09-30 13:00:12,949+0200 httpclient-callbacks:thread-1268 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Client error - 400 when posting to web hook at 'https://xxxxxx.webhook.office.com/webhookb2/d43f52d4-2cd9-425a-863b-ea19bfb2f35e@bf5c5de1-6a54-4091-a72f-90e32801628c/IncomingWebhook/'

 

Can anyone please help us to resolve this or give us some advice.

 

Thanks in advance!

 

1 answer

0 votes
Florian Bonniec
Community Champion
October 4, 2022

Hi @User 500 

First; I don' t think you should share such link.

What payload are you sending ?

It should be something like

{'text':'This is my message'}

You also have to send it as POST request.

You need to add the following header

Content-Type application/json

 

Regards 

Oumaima Laasri October 6, 2022

Hello Florian, thanks fro the advance I changed the URL shared.

The message that I shared I took it from the log Jira .

I didn't understand your proposition , because I use the webhook config 

Capture.PNG

I don't undesrtand where I should use The post and the json header ?

Regards,

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.20.10
TAGS
AUG Leaders

Atlassian Community Events