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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

Bamboo specs getting 401 on webhook

I'm trying to get Gitlab working with Bamboo Specs on Bamboo 6.5. I have created a linked repository with Bamboo specs enabled. From Bamboo I received a 'scan' URL, which I inserted in Gitlab Intergrations.

Whenever the hook is hit, I get te following response:

{"message":"You do not have sufficient read permissions","status-code":401}

The push from Gitlab has no credentials, only the URL in format:

https://<bamboo server>/rest/api/latest/repository/scan?repositoryId=<id>

3 answers

0 votes

Hi @Sander Cornelissen,

I tested the solution proposed by @Siddhant Gogri and it true, if you're not allowing anonymous users to access Bamboo, the RSS will not be triggered.

As I'm pretty sure this is not the expected behavior, I've raised a bug report:

Please be sure to watch it, so that you are notified when this is fixed in a future release.

Thank you guys for reporting this.

Even I faced the same issue with Bamboo 6.5 and Github.

Since my dev bamboo is internally hosted, I enabled anonymous access and I could go pass that error.

0 votes

Hi Sander,

Could you please double check if the repository has access to the project you're trying to edit? You can check this in the repository configuration>Bamboo specs tab.

If you want to grant access to a build project, please follow the steps below:


To add a Build project:
  1. From the Bamboo header, click Projects.
  2. Click your project.
  3. In the top-right corner, click Project settings.
  4. In the sidebar, click Bamboo Specs repositories.
  5. Select your repository and click Add

More details can be found at the Enabling repository-stored Bamboo Specs page



I have checked the steps you described; the repository is for the project an allowed Bamboo Specs repository. The repository is listed in the Bamboo Specs repositories under the project I had written the Bamboo YAML spec for.

But should it work only with that URL? For example, doing a curl -XPOST with that URL  from Bamboo should normally work? When I do that with curl I received the same error.

The project I have described in Bamboo spacs exist, but the plan does not exist, is that correct?

Hi Sander,

Yes, running curl -x  https://<bamboo server>/rest/api/latest/repository/scan?repositoryId=<id> should trigger the change detection in Bamboo.

Did you check if bamboo is throwing any error in the logs?

Yes, the project doesn't need to exist in Bamboo, only the project.


Suggest an answer

Log in or Sign up to answer

Atlassian Community Events