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

Does confluence Cloud supports Webhooks?


I have created confluence access token using the below-mentioned link,
https://developer.atlassian.com/cloud/jira/platform/oauth-2-authorization-code-grants-3lo-for-apps/

As per Atlassian Webhook Docs mentioned below
https://developer.atlassian.com/cloud/confluence/modules/webhook/

Confluence supports webhooks but URL to create webhook is not mentioned properly in the documentation.
Can you please help me with Url and parameters.

3 answers

2 accepted

0 votes
Answer accepted

Hello @kuldeep kushwaha,

Confluence Cloud does have Webhooks, as you have already discovered. However, Confluence does not have a Webhook administration page as in Jira. We have the below feature request for this:

Webhooks can be registered through the descriptor file in Confluence Cloud as mentioned on this thread from our Developer Community, Are webhooks available to add-ons in Confluence Server

In case you have any further questions about this, I advise you to raise a question on the Developer Community that I linked above. Be advised that the regular Atlassian Community is focused on end-users, so you're more likely to find the help you need from the Developer Community.

Regards,

Shannon 

Hi,
Can we create Confluence plugin using node js if so can you please provide me with the link.

And can Confluence plugins act as webhooks and provide me with the latest update.

 

Regards 
Kuldeep Kushwaha

Kuldeep,

Yes, you can! Here's the documentation below:

If you have any questions regarding this, please reach out to the Developer Community instead; they will be able to answer any questions for you related to developing for Atlassian products.

Regards,

Shannon

 

Hi,


I want to integrate confluence with our product webMethods.io Integration in the same was as slack is integrated with confluence.
Any changes made in confluence is notified to me on our notification url can we achieve this through macro.


I asked the same query on the Atlassian community.
https://community.atlassian.com/t5/Confluence-questions/Want-to-create-addon-integrate-webMethods-io-to-receive/qaq-p/1237238

The above link provided by you explains how to create macros but can I achieve instant notification updates by using macros.


Could you please help me with this.

Regards
Kuldeep Kushwaha

Hi Kuldeep,

Thank you for the explanation. I'm not familiar with creating add-ons, so I don't have any information on that, unfortunately.

You'll want to raise this question on the  Developer Community that I let you know about. The folks there are more familiar with add-on and macro development for Confluence, and they'll be able to give you advice.

Regards,

Shannon

Hi,

Can you just give me the rough estimate,  by what time Confluence cloud will support webhooks for instant updates?

Regards
Kuldeep Kushwaha 

Hello Kuldeep,

Can you elaborate on what you mean by instant updates? I confirmed earlier that webhooks are supported in Confluence. Administration of webhooks is not supported, and that's the feature request I sent you.

At this point, it's a feature request, so there is no estimate as to when or if this will be implemented. You can see our Implementation of New Features Policy for details on how we choose to implement new features.

If, at some point in the future, a feature is chosen to be implemented, updates will be included on the feature request ticket. You can watch a ticket in order to be included on those updates.

Regards,

Shannon

Hi,

By Instant Updates I mean provide me with JSON Data as soon as some event Is Performed in Confluence Pages or Spaces.

But as u said Webhooks are available under descriptor file in Confluence Cloud
Can you just help me with where can I find the Descriptor file?

Regards

Kuldeep Kushwaha

Hi @kuldeep kushwaha ,

I believe you are mixing 2 things that have nothing to do with each other. However, to make sure we are all on the same page:

 

 

Finally, in the below page is explained how to build an add-on that, among the other things, listens and responds via a Webhook when a new page is created in Confluence:

 

Please notice that I am providing this just as an example. The above page is not part of our official documentation, is not supported by us and it might be outdated. 

 

I hope this clarifies.

 

Cheers,
Dario

 

Like Shannon Spaniol likes this
0 votes
Answer accepted
Dario B Atlassian Team Nov 27, 2019

Hello @kuldeep kushwaha ,

Allow me to step in and try to summarize everything that has been said till now.

However, before going any further, I'd like to also try to make clear that this is not the best place to ask development related questions. The right resources are listed in https://developer.atlassian.com/resources:

 

Once this has been said:

  1. In Confluence Cloud Webhooks can only be registered through the descriptor file of an add-on, not from the UI

  2. There is an open feature request to ask for the possibility to manage Webhooks through the UI: [CONFCLOUD-36613] Allow Confluence Webhook Administration 

  3. The frameworks to create an add-on for Confluence Cloud, including nodejs, are listed in this page: Frameworks and Tools

  4. Having the right skillset it should be quite easy to build a simple add-on that will just register some Webhooks that will send data to the desired endpoint in WebMethods in case of any update in Confluence Cloud.
  5. Once registered, Webhooks should be triggered almost immediately when the desired/configured events were fired. I am not sure what you mean with "instant updates". Can you provide more details on this?
  6. If you need further help with this you may want to ask in the developers community rather than in here: https://community.developer.atlassian.com/

 

I hope this clarifies.

 

Cheers,
Dario

HI  @Dario B  @Shannon Spaniol 

Using the app descriptor file I am able to register webhook in Confluence Cloud and able to receive the JSON data as soon as an event is performed in Confluence.
But I noticed that the user who is within the administrator group was able to set webhook and other users were not.
I searched for the same but didn't find anything on Confluence Documentation.
So is there any restrictions with scopes regarding Webhook setup. If yes can you please provide me with the document link.

 

Regards,

Kuldeep Kushwaha

Dario B Atlassian Team Jun 26, 2020

Hello @webmethods-integration ,

It is pretty normal that only admin can create webhooks and this is actually the same in Jira. Indeed, the page to create webhooks is in the Jira administration section (not accessible to non-admin users). 

If it wouldn't be this way, a malicious user would be able to create webhooks to send sensitive/private data to remote resources.

 

Also, for the future, please try to avoid adding questions to threads that are already 7 months old. Create a new thread instead. 

 

Have a nice weekend.

Cheers,
Dario

Hi @kuldeep kushwaha !

You can try to use Webhook Manager for Confluence Cloud. It provides an easy way to manage and administer Confluence webhooks.

Thanks.

 

Sincerely, Vadim [StiltSoft]

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

429 views 23 9
Join discussion

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