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?
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:
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
Hi @Edward Hunter , here is a article that I believe will get you to where you are trying to go.
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.