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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Confluence webhook Office365 - summary required

wvdb I'm New Here Sep 07, 2020

Hi,

I am trying to use the new webhook functionality in Confluence. I have created a webhook URL in office365 and tested with CURL if I could successfully post to it - which I can.

When adding the webhook to Confluence I receive an error 400. The details of the error show the error 'Summary or Text is required.'.

I used the curl command below to test the webhook.
curl -H 'Content-Type: application/json' -d '{"text": "y u no work?"}' https://outlook.office.com/webhook/<rest of string>

Now I am a bit puzzled about why Confluence can't post to this webhook. I cannot find any information to why this error is spawned. My simple CURL test shows me my webhook is working correctly and I cannot find much information in regard to Confluence and the error 'Summary or Text is required.'.

Could someone please help me by pointing me in the direction I should be searching to resolve my issue?

Thanks

1 answer

0 votes
Diego Atlassian Team Sep 15, 2020

Hello @wvdb !

Looking through some Microsoft docs and help pages, I believe that this is a necessity from Outlook itself.

This issue has been mentioned in a few places:

I was also able to find a page that walks us through how Microsoft cards should be set:

You can also check further details on Webhooks for Confluence here:

Further, you can probably get more assistance with our sister community, the Developer Community! You can post your question here as well:

Let us hear from you!

wvdb I'm New Here Sep 17, 2020

Hi @Diego ,

Thanks for taking the time to reply. I've been reading through your suggested URLs, and many more, but I am unfortunately not getting any further.

As it seems, MS Teams requires the "summary" field to be submitted in the POST. When I sniff out the POST to MS Teams I can see that the JSON doesn't contain any field with that label.

Oddly enough I do not see that label either when I test it trough CURL. Both my captures seem to be posting the same data structure to MS Teams, yet my CURL POST is accepted, and my Confluence POST isn't.

I'm obviously hitting something where my understanding of these things is too limited to grasp what might be going on here.

I'll do some more digging, maybe I can unearth something somewhere :)

Cheers,

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
773
TAGS
Community showcase
Published in Confluence Cloud

Get to know the Confluence team!

Go “behind the screen” to meet some of the Confluence Cloud team. In this video series, we tackle some of the hard-hitting questions you never knew you wanted the answer to!  Meet some of the ...

236 views 0 10
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