Forums

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

How do I create an automated rule with OR conditions?

erica_bogosian
Contributor
August 6, 2025

I currently have an automated rule set up as follows, using the Archive inactive pages when scheduled (recurring) template as a base: 

- Scheduled: daily run

- branch: For each inactive page

- Condition: If {{page.parent.title}} does not equal {{value1}}

- Condition: And {{page.parent.title}} does not equal {{value2}}

- Then: Archive page

The goal result is to archive all inactive pages except for those that have certain parent pages.

How do I set it up so that 2nd condition is an OR, not an AND? There doesn't seem to be any configuration item to change that. 

Or is it a moot point in this case?

2 answers

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.
August 6, 2025

Hi @erica_bogosian 

I believe there are several ways to do this using a single Smart Values Condition...such as:

  1. a conditional expression that contains both cases, combined with the OR() function, or
  2. a single match() function testing both cases with a regular expression

 

Here are some references for those functions:

 

Kind regards,
Bill

0 votes
Thiago P _Atlassian Support_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 6, 2025

Hi @erica_bogosian ,

Currently there is no way to chain multiple Conditions using OR instead of AND.

You can use a single CQL Condition to exclude a list of pages by title:

title not in ("value 1", "value 2")

As an alternative, you can use a simple Page Condition and exclude pages with a specific label (such as 'do-not-archive') and the rule will skip all pages with that label.

Hope this helps!  =]

Suggest an answer

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

Atlassian Community Events