Forums

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

What is the best way to get a notification from Confluence that a new page?

John Wilson January 26, 2018

Hello,

 

I'm trying get notifications from confluence into my Java web app whenever a new page is created in a certain space. What is the best way to do this? Is it even possible?

1 answer

0 votes
Stephen Deutsch
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.
January 26, 2018

Well, Confluence Cloud has webhooks that you can use within a Connect app in order to get updates about actions such as new page creation, but unfortunately webhooks have not yet been implemented for server: https://community.atlassian.com/t5/Confluence-questions/Are-WebHooks-available-for-Confluence/qaq-p/382392

In this case, I would say polling Confluence every couple of minutes over the REST API for any new pages created would be the only way you could achieve this currently.

John Wilson January 26, 2018

Is there a specific rest endpoint I should be using. I've been digging through the Java API too and it looks like my best option is to use the NotificationManager. I'm not sure which endpoint you are referring to.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events