Confluence Automation Fails When Filtering by Page Template Condition

손정은
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 28, 2025

Hello,
I am trying to set up an automation rule in Confluence Cloud that sends a notification to a Microsoft Teams channel whenever a new page is created using a specific template.
However, I am experiencing issues where the automation does not execute when an IF condition is applied to filter by template.

✅ Goal:

  1. I want Confluence to detect when a page is created using a specific pre-set template and send an automatic notification to a Microsoft Teams channel.
  2. I have attempted to configure this using Confluence Automation, but the IF condition is preventing the automation from executing properly.

✅ Current Automation Rule Setup:

  1. "When: Page Created" → Triggers when a new page is created in a specific space
  2. "If: Page Template = [Specific Template]" → Only continue if the page is created using a designated template
  3. "Then: Send Microsoft Teams message" → Sends a notification to a selected Teams channel

🔍 Current Issue:

  • When the IF condition is removed, the automation works as expected and sends a notification to Teams whenever a page is created.
  • However, when the IF condition is added (to filter by a specific template), the automation stops executing and logs show "No actions performed."
  • In the automation execution log:
    • "When: Page Created" triggers successfully
    • "If: Page Template = [Specific Template]" does not pass, and the rule does not continue

✅ Troubleshooting Attempts:

  1. Tried replacing "If: Page Template = [Specific Template]" with "If: Page Title contains [Specific Pattern]" to test template detection
    • Example: title ~ "Video RFP*"
    • This workaround worked, suggesting that template detection is not functioning properly in automation.
  2. Tried using labels instead of template filtering
    • Configured the template to automatically add a label (video-rfp) to newly created pages
    • Changed the IF condition to "label = 'video-rfp'", but automation still did not execute
  3. Reconnected Confluence Cloud with Microsoft Teams and recreated the automation rule
    • Reinstalled and reauthorized the Confluence Cloud app in Microsoft Teams
    • Created a new automation rule from scratch, but the same issue persisted

✅ Questions for Support:

  1. Does the "If: Page Template = [Specific Template]" condition currently work in Confluence Automation?
  2. Are there any known limitations with detecting templates in automation rules?
  3. Is there an alternative way to reliably detect pages created from a specific template (e.g., using CQL filters)?
  4. Are there any additional permissions or configurations needed for Microsoft Teams notifications to work properly?

1 answer

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 28, 2025

Hi @손정은 -- Welcome to the Atlassian Community!

This is not Atlassian Support.  It is a community of people with similar interests who want to learn and support one another with Atlassian products.

 

To contact Atlassian Support, please work with your Jira Site Admin to do so here: https://support.atlassian.com/contact/#/

I did a quick check in the public backlog and did not find the symptom you described for Confluence automation rules.

 

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events