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,456,779
Community Members
 
Community Events
176
Community Groups

REST API authorization not working

I have a Bamboo server 8.0, it is installed on my own server.

I try to authorization in the REST API.

1. I generated a Personal access token in user settings.

2. Then I try to get https://{BAMBOO}/rest/api/latest/result/DUC-BDS-1526?expand=jiraIssues with the header "Authorization: Bearer {TOKEN}"

3. I got this message: {"message":"Authentication anonymousUser has NO permissions to the domain object com.atlassian.bamboo.project.DefaultProject@10da5","status-code":403}

The same situation when I try to use Basic auth

1. URL: https://{BAMBOO}/rest/api/latest/result/DUC-BDS-1526?expand=jiraIssues&os_authType=any

2. Header: Basic {base64 login:password}

3. The same error message: {"message":"Authentication anonymousUser has NO permissions to the domain object com.atlassian.bamboo.project.DefaultProject@10da5","status-code":403}

What am I doing wrong? I tried to install Bamboo 7.2, and I had the same problem.

1 answer

Sorry, I found the problem. My nginx removes all Authorization headers.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events