How can i get notified on a weekly basis for all the pages I am tagged in inline comments?

margat
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!
November 22, 2024

 

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?

1 answer

1 vote
Bill Sheboy
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.
November 24, 2024

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.

  • your avatar at top-right of page > Personal Settings > Email

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

Bill Sheboy
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.
December 13, 2024

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events