Automation rules referencing large project roles fail to complete
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
An automation rule is reporting Some Errors when ran. The error in the automation audit log is:
The role has 50 or more users, only the first 50 users will be used.
Environment
Jira Cloud
Diagnosis
Check that the amount of users listed in a project role totals fewer than 50 users. If there are any users or groups listed as default project role members (located at https://site-name.atlassian.net/secure/project/ViewProjectRoles.jspa), they can also be factored into this count.
Cause
An automation rule can only reference a role that contains 50 users or fewer.
Solution
Reference Jira user groups instead of users or project roles in the automation rule. A note appears under the Criteria field displaying the role limit when a project role is referenced (see below).
| Automation rule referencing a project role | Automation rule referencing a user group |
Additional Information:
User condition not properly checked when a project role has more than 50 default members: AUTO-1066 - Getting issue details... STATUS

