Forums

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

How to send confluence events to a user provided URL (webhook)

Sudhanshu Shekhar Pandey
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!
March 19, 2019

Hi, 

I,  a noob plugin developer wants some guidance. I was going through Atlassian documentation and found that webhook is not available for Confluence-servers and wants to create a custom plugin for that. 

Requirement : Plugin that will take web-hook URL from user as input and send confluence event notification for specific space to configured URL.

Any help will be appreciated.

Also, is there any plugin module specific to my requirement ?

Please let me know if you need any other details.

Thanks.

1 answer

0 votes
Rafael Pinto Sperafico
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.
March 20, 2019

Hi @Sudhanshu Shekhar Pandey ,

Could you please elaborate on this feature you are planning on creating? For instance,

  • what will be the event that will trigger this webhook?
  • are you going to provide any authentication method for this webhook?
  • is there any payload to be sent out? if so, what?

Depending on what you are trying to accomplish, perhaps you could validate this plugin making use of User Macros where you can get some information available to the page and write a Javascript to call an AJAX method to a given URL.

Looking forward to hearing back from you.

Kind regards,
Rafael

Sudhanshu Pandey March 21, 2019

Hi @Rafael Pinto Sperafico ,

As webhook for confluence-server is not available yet, I want to create a simple plugin which will ask user for webhook-URL through a simple UI screen and will configure that URL in plugin to send notifications.
The event notification will be triggered when any modification is made inside confluence-space (like page created/updated, Blog created/updated etc.)


There will be authentication and json will be sent as payload.

Ready to ans any other information that you need. Any help is much appreciated. 

 

Thanks

Sudhanshu Shekhar Pandey

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events