-
Bug
-
Resolution: Fixed
-
Low
-
7.1.7
-
None
-
Severity 3 - Minor
Issue Description
If the default members of a Project Role exceed 50 users, the condition that checks if a user is part (or is not part) of this project role will throw the following message in the audit log, even if in reality the project role does not have more than 50 users:
The role has 50 or more users, only the first 50 users will be used
This message is misleading, since in reality the project role might have less than 50 users, and also the user condition might not work as expected, and check the actual users who are in the project role (instead of the users configured in the default members of this role).
Steps to reproduce
- Create a new Jira group, and add more than 50 users to it
- Create a new project role in ⚙ > System > Project roles
- Click on Manage Default Members next to this role
- Add the Jira group as a default member of this role
- Go to a Project Configuration page, then go to "Users and roles"
- Only add 1 user to the project role created earlier
- Create a new automation rule in this project, including a User Condition configured as follows:
- User -> "User who triggered the event"
- Check to perform -> "is not in role"
- Criteria -> add there the project role
- Trigger the automation rule
- Check the audit logs
Expected results
The User Condition portion of the Audit log should only say:
The following issues passed: <ISSUE_KEY>
Actual results
The User Condition portion of the Audit Log says:
The following issues passed: <ISSUE_KEY> The role has 50 or more users, only the first 50 users will be used
Workaround
- Go to the page ⚙ > System > Project roles
- Click on Manage Default Members next to the project role used in the User Condition of the automation rule
- Remove the default members from this project role
- is related to
-
JIRAAUTOSERVER-1107 Automation For Jira only lists the first 50 issue types in any component
-
- Closed
-