How can i get notified on a weekly basis for all the pages I am tagged in inline comments? I tried to set up an automation rule with the AI but it is not successful?
Hi @margat -- Welcome to the Atlassian Community!
First thing, I do not have Confluence Automation in my site, and so my suggestions are based on using automation features, in general.
With the built-in notifications, the default is to notify someone immediately when they are mentioned on a page. The only configuration option is to disable that notification.
For other notification methods / cadences, you could check the Atlassian Marketplace for addons / apps to help: https://marketplace.atlassian.com/
Back to trying this with automation rules...
With the current features of Confluence Automation, there is no action to return the pages where you were mentioned in the last week.
A workaround would be to use Confluence Query Language (CQL) to find any pages on which you were mentioned and which were updated in the last week. I do not know a way to detect when the mention occurred with CQL. For example:
mention=currentUser() AND lastmodified>=startOfWeek("-7d")
This could be used to call the REST API endpoint for a content search: https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search/#api-wiki-rest-api-search-get
For example:
yourConfluenceURL/wiki/rest/api/content/search?cql=mention=currentUser() AND lastmodified>=startOfWeek("-7d")
Finally, that could be used with the Send Web Request action to call the REST API, and the results parsed to send your email with the page list: https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828
Kind regards,
Bill
Hi @margat
I am following up to learn if you are still working on this one or if the suggestions resolved it. If resolved, please mark this question as "answered" to help others with similar needs find solutions faster. Thanks!
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.