Preventing spam from automation rules

Edward Hunter
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!
February 24, 2025

I have an automation rule that labels pages authored by deactivated accounts as 'orphaned', and when the rule runs I want it to send a list of every page labeled this way to the space owner, but I don't want to send them an email for every page, I want to send them a list of all the page titles and urls.  Is this possible?

2 answers

0 votes
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.
February 24, 2025

Hi @Edward Hunter -- Welcome to the Atlassian Community!

For a question like this, context is important for the community to help.  Please post the following:

  • an image of your complete automation rule in a single image for continuity,
  • images of any relevant actions / conditions / branches, and
  • an image of the audit log details showing the rule execution.

Until we see those...

I hypothesize your current rule is using "Branch rule / for each page owned by a deactivated account" to add the labels.  And so it may not be able to send the email to each space owner within the same rule.  (Seeing the rule will confirm that.)

Instead perhaps use a second rule, on a schedule offset from the first one, to identify the pages and then send the notifications to each space owner.  That rule could use CQL and the REST API to identify the pages, and then extract and iterate over their distinct space owners using an advanced branch:

https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/

Kind regards,
Bill

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 24, 2025

Hi @Edward Hunter , here is a article that I believe will get you to where you are trying to go.

New-batch-notifications-and-look-up-capabilities 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events