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

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

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
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,340 views 6 6
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