Bulk edit plan permissions are failing when group name inherited from JIRA/Crowd has blank spaces.
It's currently not possible to create groups in Bamboo with blank spaces in the name (e.g. Atlassian Support Group). Thus we would have to create a group named atlassian-support-group instead. However, this is not true for other applications like JIRA/Crowd, where it is possible to create groups with blank spaces in their names.
Problem happens when you have Bamboo using JIRA/Crowd as a user repository: Integrating Bamboo with Crowd. When you are connecting Bamboo to an external user management system, users and groups are no longer coming from Bamboo. Therefore, when Bamboo gets sync'ed with JIRA/Crowd it pulls the groups with blank spaces in their names.
- Set up Bamboo to use Users and groups from JIRA or Crowd: Integrating Bamboo with Crowd.
- Add a user to a group with blank spaces in its name (e.g. Atlassian Support Group).
- Go to Bamboo administration >> Overview >> Bulk edit plan permissions.
- Select a plan which you want to bulk edit permissions.
- Set the "Grant permission to" field to "Group".
- Select the group with blank spaces in the name (e.g. Atlassian Support Group).
- Give the group one of the available permissions (e.g. View, Edit, Build, Clone or Admin).
- Hit the Next button.
- The following error will be displayed:
Instead of going to the Bulk edit plan permissions page, access the Plan Configuration >> Permissions page of the plan you're trying to edit permissions, and manually add the group/permissions in that page. That does not trigger any errors and the group is added to the plan's permissions.