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 |
|---|---|---|
|
|
✅ Passed |
Automated |
|
|
✅ Passed |
Automated |
|
|
✅ Passed |
Automated |
|
|
✅ Passed |
Automated |
|
|
✅ Passed |
Automated |
|
|
✅ Passed |
Automated |
|
Mixed ordinary Field Source + User Picker + Rule Initiator under one group |
✅ Passed |
Automated |
|
Two independently mutable sources, complete |
✅ Passed |
Automated |
|
Two independently mutable sources, complete |
✅ Passed |
Automated |
|
Same |
🧪 Not yet verified |
Real Jira |
|
Same |
🧪 Not yet verified |
Real Jira |
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 |
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 |
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.