Field & Screen Rules, Behaviors & Templates
Auto Light Dark
Auto Light Dark

Rule Composition

Rule Composition

Rule Composition defines how multiple atomic conditions and multiple rules combine.

It is documented separately from field operators because ALL and ANY do not belong to any one field family.

Condition groups

Each rule uses one outer condition-group mode:

  • ALL — every condition must evaluate true.

  • ANY — at least one condition must evaluate true.

Field & Screen Rules, Behaviors & Templates does not currently expose free-form mixed AND / OR expressions or nested groups.

This keeps the rule semantics explicit:

ALL
- Condition A
- Condition B
- Condition C

or:

ANY
- Condition A
- Condition B
- Condition C

Ternary semantics

Some conditions can evaluate unknown, for example when authoritative membership data cannot be obtained reliably.

ALL

  • any false → false;

  • otherwise any unknown → unknown;

  • otherwise → true.

ANY

  • any true → true;

  • otherwise any unknown → unknown;

  • otherwise → false.

Current verification

Scenario

Result

Verification level

ALL, all conditions true

✅ Passed

Automated

ALL, one condition false

✅ Passed

Automated

ALL, unknown with no false

✅ Passed

Automated

ANY, one condition true

✅ Passed

Automated

ANY, all conditions false

✅ Passed

Automated

ANY, unknown with no true

✅ Passed

Automated

Mixed ordinary Field Source + User Picker + Rule Initiator under one group

✅ Passed

Automated

Two independently mutable sources, complete ALL truth table

✅ Passed

Automated

Two independently mutable sources, complete ANY truth table

✅ Passed

Automated

Same ALL truth table in native Jira without reload

🧪 Not yet verified

Real Jira PC-06

Same ANY truth table in native Jira without reload

🧪 Not yet verified

Real Jira PC-07

Multiple rules

A Behavior can have independent rules contributing to the same target.

The runtime reconciles effective state by property rather than treating one whole rule as the permanent owner of the target.

Scenario

Result

Verification level

Two rules affect different properties of the same target

✅ Passed

Automated

One contribution is withdrawn while the other remains

✅ Passed

Automated

Same scenario in native Jira

🧪 Not yet verified

Real Jira PC-08

Competing rules

When multiple rules contribute to the same target property, resolution must remain deterministic and reversible.

Scenario

Result

Verification level

Competing contributions resolve deterministically

✅ Passed

Automated

Winning contribution is withdrawn and effective state recalculates

✅ Passed

Automated

Previous/baseline state is restored when no contribution remains

✅ Passed

Automated

Full native Jira sequence

🧪 Not yet verified

Real Jira PC-09

Why this is a separate capability

Field and Context Source conditions answer questions such as:

Priority equals High
Reporter is Paty
Rule Initiator belongs to Administrators
Status is one of To Do, In Progress

Rule Composition answers a different question:

How should those complete conditions be combined?

Keeping these layers separate avoids ambiguous expressions such as A AND B OR C whose precedence is not visually explicit.

Last updated: