Forums

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

What are alternatives to webhooks for confluence server when trying to get user mentions?

sabzx February 5, 2020

Problem

I am writing an app that to fetch comments when a user's name is mentioned in the comment, from confluence server

 

Steps Taken

I am currently using the search REST API to search for all mentions for a particular user id, I go through all the pages returned and fetch the comments containing the user mention. I would have to replicate this search for all users in the database.

For example a search query on this API : 

http://localhost:8090/rest/api/content/search?cql=(mention='ken' and created ="2020/01/02")

would result in a few page links which I can use to extract the comment I want.

Is there a better alternative to this solution ?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events