Issue
When I try to create a Team controller in Blue Ocean, I got the following error:
"Name this team - provided name is invalid!"
Environment
-
CloudBees CI (CloudBees Core) 2.150.2.3
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center 2.150.2.3
-
CloudBees CI (CloudBees Core) on traditional platforms - Operations Center 2.150.2.3
-
CloudBees Jenkins Enterprise - Operations center 2.150.2.3
-
Blue Ocean Plugin 1.9.1+
== Resolution
There is an incompatibility between Teams and versions of the Blue Ocean API higher than 1.9.1. This is currently being fixed and will be included in a future release of the products.
== Workaround
In order to solve the issue, you can follow different approaches:
-
Use a Blue Ocean plugin version lower than 1.9.1
-
Go to Manage Jenkins -> Configure Global Security and temporarily disable CSRF Protection.
-
After that, you should be able to create a new Teams controller.
Important: Once the Team controller has been created you should re-enable CSRF Protection.
Tested product/plugin versions
-
CloudBees CI (CloudBees Core) 2.150.2.3
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center 2.150.2.3
-
CloudBees CI (CloudBees Core) on traditional platforms - Operations Center 2.150.2.3
-
CloudBees Jenkins Enterprise - Operations center 2.150.2.3
-
Blue Ocean Plugin 1.9.1+