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

How conditional rules are applied to fields

How conditional rules are applied to fields

Field & Screen Rules, Behaviors & Templates applies interface rules in Jira through UI Modifications.

A rule can change how fields and tabs behave all the time or only when a condition is met.

Example:

When Summary contains confidential, hide Description.

A condition can use a Field Source or a Context Source, including Parent.

Choose when the rule is evaluated

Evaluation mode

When the rule runs

Typical use

Load only

When the screen opens

Keep the initial decision fixed for that screen session

Change only

After a supported dependency changes

React only to edits made after the screen has loaded

Load and change

When the screen opens and after supported dependencies change

Apply the correct initial state and keep it reactive

A Load only result remains fixed for that screen session.

A Change only rule does not contribute during initial load. It becomes active after one of its relevant dependencies changes.

How a conditional rule works

When the selected evaluation mode runs, the App:

  1. reads the current confirmed source/context value;

  2. resolves approved authoritative metadata when the condition source requires it;

  3. normalizes stable identities according to the source family;

  4. checks whether the configured condition is met;

  5. combines the result with any other active rules affecting the same field or tab;

  6. applies only the resulting target properties;

  7. restores a lower-priority contribution or Jira's known original state when a confirmed rule stops contributing.

The final result is based on the complete set of applicable rules, not one rule in isolation.

When the condition is true

When the condition is met, the rule contributes its configured actions.

Example:

Summary contains "confidential" → Hide Description

When the condition is false

When a confirmed source/context value does not meet the condition, that rule stops contributing its actions.

The target then follows:

  • another matching rule controlling the same property;

  • a fixed Load-only contribution;

  • Jira's captured original state where available.

This does not always mean the field becomes visible, optional or editable. Another rule may still control that property.

Multiple rules affecting the same target

Different properties are resolved separately.

For example, one rule can stop hiding Description while another rule continues to keep Description read-only.

A failed/withdrawn visibility contribution must not reset unrelated requiredness or read-only contributions.

Updates while the user edits the screen

Rules configured for Change only or Load and change are reevaluated when a supported dependency changes.

The app reevaluates only impacted rules and targets. It does not reset every field after each edit.

Some Jira editors are asynchronous. The App distinguishes confirmed values from observed transient editor states where the platform behavior has been verified.

A transient editor state is not automatically treated as an empty value.

Parent conditions

Parent is a composite Context Source with four criteria:

Parent → Issue
Parent → Project
Parent → Issue Type
Parent → Status

Direct Parent Issue conditions

Parent Issue identity and existence can be evaluated from the current Parent field value.

Examples:

Parent → Issue is INIT-10
Parent → Issue is empty
Parent → Issue is one of INIT-10, INIT-20

Derived Parent conditions

Project, Issue Type and Status require metadata from the selected Parent issue.

The App uses a bounded read-only metadata provider for those approved criteria. It does not allow a behavior payload to select arbitrary REST endpoints, fields or resolver operations.

If several rules need Parent Project, Issue Type or Status during the same evaluation, the runtime shares the Parent metadata resolution instead of fetching it independently for every rule.

Parent changes

When the Parent relationship changes on a supported screen, all Parent-dependent rules are reevaluated.

A late response from an older Parent selection cannot overwrite a newer selection.

External Parent changes

Changing the Parent issue itself elsewhere does not create a Parent-field onChange event on an already open child issue.

Changes such as Parent Status are therefore observed on the next supported initialization or reevaluation cycle, not as real-time cross-issue synchronization.

All and Any conditions

A rule with multiple atomic conditions can use:

  • All: every condition must match;

  • Any: at least one condition must match.

Nested groups of arbitrary conditions are not currently available.

An operator such as Parent → Status is one of Approved, In Progress is still one atomic condition. ALL/ANY combine that condition with other cards.

Empty and non-empty conditions

For optional supported Field Sources:

  • Is empty matches a confirmed empty value;

  • Is not empty matches a confirmed value;

  • unavailable/unreadable is not treated as empty;

  • an observed transient editor state is not automatically empty.

Zero and false are values, not empty states.

Parent empty semantics

Only Parent → Issue exposes Is empty and Is not empty.

When no Parent exists:

  • Parent Issue empty matches;

  • Parent Issue notEmpty does not match;

  • Parent identity comparisons do not match;

  • Parent Project / Issue Type / Status conditions do not match;

  • negative Parent comparisons do not become true merely because Parent is absent.

A Parent metadata failure is not treated as an empty Parent.

Think about what should happen when an optional source is cleared

A condition that checks a specific value normally becomes false when the source is intentionally cleared.

If the action should also apply to the empty branch, define that branch explicitly with ANY where the source supports an empty criterion.

There is no universal rule that every empty source should preserve or withdraw a restrictive action.

Missing, unreadable and temporarily unresolved sources

A missing, unsupported or unreadable source is not interpreted as empty or false by guesswork.

Likewise, an asynchronous evaluation failure is not automatically treated as a confirmed match or non-match.

Where the runtime cannot determine a semantic result reliably, it uses its unknown safety state and prevents stale/unconfirmed async results from becoming new decisions.

For Parent derived criteria, unknown cannot satisfy negative operators such as is not equal to or is not one of.

Restoring actions when a rule withdraws

The App resolves target state by property.

When a confirmed condition becomes false:

  • another active rule can continue to control that property;

  • another property on the same field is unaffected;

  • Jira's captured baseline is restored where available;

  • when a known immediate contribution must be reversed without a readable baseline, the runtime authorizes that fallback per property and blocks it if a competing restrictive rule still controls the same property.

This prevents one condition from creating a broad field-level reset.

Rule priority and conflicts

When more than one rule controls the same property, the app uses deterministic priority/order information.

A higher-priority rule can replace a lower-priority decision. When the higher-priority condition stops matching, the lower-priority contribution can become effective again.

Platform and security limitations

Field & Screen Rules, Behaviors & Templates runs inside Jira's client-side UI Modifications runtime.

Jira loading, browser/device performance, network conditions, asynchronous editors, other UI Modification apps and method availability can affect when an action becomes visible.

UI Modifications control presentation and interaction. Hide and Read Only are not access-control mechanisms.

Use Jira permissions, workflow/backend validation or another authoritative control for business-critical authorization.

Fields available for conditions

See:

Flow summary

Situation

Result

Load-only rule

Evaluated when the screen opens; decision remains fixed for the session

Change-only rule

Starts contributing after a relevant confirmed dependency change

Load-and-change rule

Evaluated initially and kept reactive

Condition is true

Rule contributes its actions

Confirmed condition is false

Rule withdraws its contribution

Other rules affect the same property

Final combined decision is used

Optional source is explicitly empty

Is empty can match where supported

Source is absent/unavailable

It is not treated as empty

Async result is stale

It is ignored

Parent metadata is unavailable

Derived Parent result is unresolved/unknown, not a fabricated negative match

Existing configured source/target becomes invalid

Validation prevents publication until corrected

Last updated: