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

Why are group and Project Role checks available for Rule Initiator but not User Picker fields?

Why are group and Project Role checks available for Rule Initiator but not User Picker fields?

When creating conditions in Field & Screen Rules, Behaviors & Templates, you may notice an intentional difference between Rule Initiator conditions and conditions that use a Jira User Picker or Multi User Picker field as the source.

For Rule Initiator, you can check whether the user who triggered the action:

  • is a specific user;

  • belongs to a group;

  • belongs to a Project Role.

For a User Picker or Multi User Picker field used as the condition source, the available checks currently focus on the field value itself, such as specific users, sets of users, or whether the field is empty.

This difference is intentional.

Why are group and Project Role checks available for Rule Initiator?

Rule Initiator represents the authenticated Jira user who is performing the action.

That identity comes from Jira's execution context and can therefore be used by the App to perform controlled membership checks against groups and Project Roles.

For example:

Rule Initiator belongs to group "Service Desk Managers"

In this case, the membership check is performed against the authenticated user who initiated the action.

Why is the same option not available for a User Picker field?

The value shown in a User Picker field may be changed while someone is editing an issue and may not yet have been saved to Jira.

Consider a condition such as:

Assignee belongs to group "Finance"

While editing an issue, a user could select different people in the Assignee field and observe how the screen reacts to each selection.

If the App automatically checked the group or Project Role membership of every temporarily selected user, the behavior of the screen itself could reveal membership information about other Jira users.

For this reason, the App currently does not use transient User Picker values as subjects for group or Project Role membership checks.

What can I use with User Picker conditions?

User Picker and Multi User Picker fields can still be used as condition sources.

Depending on the field type, you can check conditions such as:

  • the field contains a specific user;

  • the field contains one of a set of users;

  • the field contains all selected users;

  • the field contains none of the selected users;

  • the field is empty;

  • the field has a value.

These comparisons use the users that are directly present in the field and do not require additional membership lookups.

Why is this not simply a technical limitation?

The App already supports group and Project Role membership checks where the identity source is trusted, such as Rule Initiator.

The difference is the source of the identity:

Condition source

Identity source

Group / Project Role checks

Rule Initiator

Authenticated user from the Jira execution context

Available

User Picker / Multi User Picker

Field value that may still be edited and unsaved

Not currently available

The goal is to ensure that a screen behavior cannot become an indirect way to discover membership information about other users.

Will this be supported in the future?

We are evaluating safe ways to support membership-based conditions for User Picker fields without allowing temporary or manipulated field values to be used to infer information about other users.

Any future implementation needs to preserve both the dynamic behavior experience and the privacy and security controls expected in Jira.

For now:

  • use Rule Initiator when the rule depends on who is performing the action;

  • use User Picker / Multi User Picker conditions when the rule depends on the users currently selected in the field.

Last updated: