Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,466,618
Community Members
 
Community Events
176
Community Groups

Bamboo Specs - Permissions issue creating a deployment plan

Edited

Hi,

I'm trying to create a deployment plan by command line from mi bamboo specs in java. When I'm trying to create it I get a permission error saying that I don't have permission to create the deployment plan. If I try to create the deployment plan manually through the browser I can do it without problems using the same user.

As info, my user has admin permissions, and the token created to use in the bamboo spec was created with the option to have the same privileges as the user.  I also performed tests using the .credentials file with my username and password obtaining the same error (example in the github link below)

The error is the following:

"Execution default-cli of goal com.atlassian.bamboo:bamboo-specs-runner:8.0.5:run failed: java.lang.reflect.InvocationTargetException: An error occurred while publishing deployment CAP-NEWBETEST: You don''t have CREATE permission to import deployment project. -> [Help 1]"

DeploymentPlanPermissionError.png

 

Is there any way to be able to create the deployment plan directly from bamboo specs?

The bamboo version I'm using is: 8.0.5 build 80013

Source Code of the error: https://github.com/paruuy/bamboo-specs-example

thank you

1 answer

Please make sure that the Personal Access Token that you're using had the "Same as user" tick when you created it.

 

2022-05-20 17_50_33-Create a personal access token - Atlassian Bamboo and 112 more pages - Work - Mi.png

Hi @Ronald Bolante ,

The token I'm using already has this option. I can create a building plan without problems, the only problem is with the deployment plan that returns the error that I don't have permissions.

I've seen answers from 2018 saying that it was not possible to create a deployment plan directly from the command line without having created the empty plan first by browser manually. But I believe that in these 4 years with the change of versions of Bamboo maybe that changed.

 

thank you

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events