I am trying to add a Bitbucket repository to my Bamboo Specs managed build plan using the following code...
this.buildPlan.planRepositories(new BitbucketServerRepository()
.name(name)
.repositoryViewer(new BitbucketServerRepositoryViewer())....
Unfortunately its giving me the following exception....
Plan repository: You don''t have global CREATE REPOSITORY permission to create plan repository
The user that I am connecting with to run the specs code has full admin access to the project and plan being modified so why does it need global permissions to create a plan specific repository?