Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation execution on Template?

Anthony_ Robert February 6, 2025

Hello! I'm currently trying to build a template page that when published, automatically adds a label. I want to add an executable action that when executed, removes the label and adds a new label. Smart Buttons would be perfect for this, but a configured custom smart button cannot be added to a template (yet, I hope). Can someone please assist?

1 answer

1 vote
Aron Gombas _Midori_
Community Champion
February 7, 2025

You can not "link" an automation to a specific template.

What you can do is that you activate the automation globally (or in the space to which you would create new pages using that specific template) and in the automation action you filter if a newly created page was from the given template.

For example, if the template always adds the label "foobar", then you should have the automation action work like this:

  1. triggered for every newly created page
  2. if it is not labelled with "foobar", then terminate the rule
  3. (you can remove the label "foobar" to have a clean state)
  4. ... this is your actual logic

Suggest an answer

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

Atlassian Community Events